After upgrading to PHP 7.2, Abase stopped working and I can’t figure out why.
]]>Thank you to the developer, Richard, for making this capability available in this excellent database plugin!
After carefully following the instructions and browsing some of the ABASE forum messages, the Search, Add, Edit, and Delete features work great! I am sharing my actual working code with others in hopes of helping the Open Source community.
Search (domain.com/parts, search results appear on the same page through the ABASE program’s javascript codes)
[abase form="1,search,/parts/"
table="inventory"
columns="PART_NUMBER=%PART_NUMBER%$Search Part Number"
elements="PART_NUMBER"]
[abase table="inventory"
columns="PART-NUMBER^PART_NUMBER!'text 150;30;-5',DESCRIPTION!'text 150;30;-5',MANUFACTURER!'text 150;30;-5',QUANTITY!'text 150;30;-5',PDF!'width:48px;vertical-align:-25px;',IMAGE!'width:50px;vertical-align:-25px;'"
images="PDF,IMAGE"
files="PDF"
notitle="0"
rlink="PART_NUMBER"
limit="1"
ack="1,GREEN"]
Add (/private/admin-add.html)
[abase form="1,insert"
table="inventory" columns="PART_NUMBER!'325',DESCRIPTION!'325',MANUFACTURER!'325',QUANTITY!'325',PDF!325,IMAGE!'325'$Add Part" elements="PART_NUMBER,DESCRIPTION,MANUFACTURER,QUANTITY,PDF,IMAGE"
files="PDF"
images="PDF,IMAGE"
ack="green"
notable="1"]
Edit (/private/admin-edit.html)
[abase table="inventory" columns="PART_NUMBER!'325',DESCRIPTION!'325',MANUFACTURER!'325',QUANTITY!'325'"
ack="GREEN"
rlink="PART_NUMBER"]
[abase form="1,update"
table="inventory"
columns="PART_NUMBER!'600',DESCRIPTION!'600',MANUFACTURER!'600',QUANTITY!'600',PDF!'600',IMAGE!'600'$Update Part"
elements="PART_NUMBER,DESCRIPTION,MANUFACTURER,QUANTITY,PDF,IMAGE"
files="PDF"
images="PDF,IMAGE"
ack="GREEN"
notable="1"]
Delete (/private/admin-delete.html)
[abase table="inventory"
columns="PART_NUMBER!'325',DESCRIPTION!'325',MANUFACTURER!'325',QUANTITY!'325'"
ack="1,GREEN"
rlink="PART_NUMBER"]
[abase form="1,update,4"
table="inventory"
columns="PART_NUMBER!'600',DESCRIPTION!'600',MANUFACTURER!'600',QUANTITY!'600',PDF!'600',IMAGE!'600'$Delete Part"
elements="PART_NUMBER,DESCRIPTION,MANUFACTURER,QUANTITY,PDF,IMAGE"
files="PDF"
image="PDF,IMAGE"
ack="green"
notable="1"]
]]>
Hi
Plugin download is not possible anymore – why?
One of the best plugins I use(d).
J.
]]>“Deceased_Left” and “DPFlag” (paid up to 2017 etc)are two columns in our Member Table.
When displaying the table these conditionals are effective 100% but when searching for an individual member using an abase form they are ineffectual and have no effect on the result, we need to outsort members who have left and those who have not renewed membership (DPFlag) from the results.
I get a error message every time i try to display a table.
I think the problem is that the name of the table is: “character”
I tried
[abase table=”character”]
and
[abase table=”character
“]
But i get the following error:
#1. [abase table=”character
“]
Non-Fatal Error (1239)
Table character
does not exist. Valid table names in lif_199165: _data_version, _invalid_foreign_keys, account, blueprint_requirements, blueprints, building_items, character, character_blueprints, character_effects, character_titles, character_wounds, chars_deathlog, claim_rules,
And as u see the name of the table is right and abase can see it but dont accept the name…
Anyone got an idea ?
]]>I would be glad if you could provide me the shortcode for your abase plugin to search multiple variables.
Eg: Instead of entering only one variable in the search textbox i.e Richard
What’s the shortcode for multiple variables i.e Richard, Dennis, Cedric, Kath etc
Hope you would reply soon.
Thanks
]]>I have a field in the database called “logo” that is a URL. I need to display the “logo” image as a link to another page.
Sample Code:
[abase notitle=”1″ notable=”0″
images=”vendor_Logo”
columns=”vendor_Logo!width:50px;height:50px”
sql=”select vendor_ID, vendor_Name, vendor_Logo from wp_vendor_list order by vendor_Name”]
Hello,
Immediately after installing the plug-in and accessing the Settings page, I get the following error notification:
Notice: Undefined index: bus311mtd_hidden in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 31
ABASE for Accessing MySQL Databases
Settings and Reference
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 223
After enabling ‘Expand to full settings (9 databases)’ settings, I get more error notifications:
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined variable: create_databases in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 87
Notice: Undefined index: bus311mtd_disable_wptexturize in /var/www/vhosts/<name>/httpdocs/<name>/wp-content/plugins/abase/abase_plugin_options.php on line 99
It works completely fine on another WordPress installation, but my second one is somehow giving problems. Please advice how to proceed or solve the issue.
]]>At one time I could embed a ?page-id abase query within a retrieve the page number and hence the page. Now the same reference shows up as <a href=”https://myPage.com?page_id=%5Babase%20SQL= … and returns by default to the home page. I tried disabling wptextualization with no effect.
]]>#1. [abase table=”bank” columns=”BankName,TodayRate,LacRate” rlink=”BankName” echo=”blue”]
why those line’s are displayed when i want to update some data ??
Is Abase compatible with multisite?
]]>It took some head-scratching, but I got the alink parameter to work. The documentation isn’t wrong; it’s fine for reference. But may I suggest that the following might work a little better for someone trying to use alink for the first time? (Please feel free to use this in the official ABASE documentation if you’d like!)
alink – alink=” <column> ( , <url> ( , <append> ( , <target> ) ) )”
The alink=”…” attribute lets you hyperlink each value in a given column to some other Web page.
<column> – The name of a column. When the table is displayed, each value in that column will be surrounded by <a href>...</a>
tags to create a hyperlink.
<url>
If you don’t supply a value for <append> (see below), then <url> is the value to use for the href= attribute of the <a href>
tag.
If you do supply a value for <append>, then <url> is the first part of the value to use for the href= attribute of the <a href>
tag.
<append> – The name of a column. If the <append> parameter is present, then the value stored in the column you name in the <append> parameter gets appended to the end of the value you supplied in <url> to form the href= attribute of the <a href>
tag.
Using the <append> parameter means that the href= attribute of the <a href>
tag will (potentially) be different for each row, depending upon the value stored in the column you name in the <append> parameter. (This is normally what you’d want to do.)
If you don’t use the <append> parameter, then the href= attribute of the <a href>
tag will be identical for each row.
<target> – The value to use for the target= attribute of the <a href>
tag. For example, use _blank to make the link open in a new browser window.
alink example: To list the 100 latest post titles from your WordPress database and hyperlink each title to the “Edit Post” page for that particular post (which requires a URL like https://mysite.com/wp-admin/post.php?post=9999&action=edit), you’d do this:
[abase alink=”Title, wp-admin/post.php?post=, Link, _blank” columns=”Title” sql=”SELECT wp_posts.post_title AS ‘Title’, CONCAT(wp_posts.ID,’&action=edit’) AS ‘Link’ FROM wp_posts WHERE wp_posts.post_type = ‘post’ ORDER BY wp_posts.post_date DESC LIMIT 0, 100″]
]]>Hi,
We love this plug-in.
It would be great addition to have the search form capability optionally use LIKES instead of “=” for determine search results with a setting. This would give the ability to do wildcard matches for search results – e.g. entering “roger” in one field would return any record with something in that column LIKE ‘%roger%’. Even better would be just the ability to enter the search as ‘%roger%’ or ‘%roger’ or ‘roger%’ and have the SQL generate a LIKE instead of an “=” for the search.
Thanks… Roger
]]>I clicked on the link to the Plugin Page, is says “This Account has been suspended.” If there us someone monitoring this support thread can you tell answer these questions.
Using abase form="1,search - columns="country$Search Country" elements="country"
can I have a drop down of country names? i.e. Austria, Belgium, Denmark, Finland, France
Hi,
I am thinking about formatting abase output as a list instead of using the usual table layout. I would like to do something like
<ul>
[abase sql="SELECT CONCAT('<li>',Name,' ',Email,</li>') AS 'OUTPUT' FROM staff" notitle="1" notable=1]
</ul>
However, notable=1 just disables <table></table> wrapping, but <tr><td> tags are still in the output. Can this tags be disabled and only desired strings returned?
]]>When my SQL query from abase returns a single result, it is returned as is, not wrapped as a table element inside a table. Passing notitle=”1″ to abase for query. Using abase 2.6.
Things work well when there is more than one search result.
]]>It looks like Abase doesn’t keep the french accents display that is correct in MyPHPAdmin table (with UTF-8). What can I do?
]]>Thanks to user @wdhppr I was able get my Manufacturers list to appear on my page using PHP. However, his explanation fell short on how to populate the dropdown on a page.
I customized his code outlined at:
https://www.ads-software.com/support/topic/request-drop-down-select-form-field/
to this:
<?php
echo ‘<h2>Manufacturer: ‘;
$dept=$_POST[‘Manufacturer’];
echo $dept;
echo ‘</h2>’;
echo do_shortcode( “[abase table=’manufacturers’ columns=’Manufacturer Name^manufacturer_name’ where=’manufacturer_name LIKE \”%$dept%\”‘ order=’manufacturer_name’ limit=300]”);
?>
This manages to generate a table on my page by inserting a php snippet on the page, but how do I populate a dropdown with the table fields as options on my page?
Any help is appreciated, I’ll buy you a beer through PayPal if you can help. ??
]]>I am guessing the dev team knows this already, but ABASE won’t work with php7. The reason is that the old mysql_xxx functions that worked in php5 are no longer supported in php7. If you go into the abase.php and globally replace ‘mysql_’ with ‘mysqli_’ this might work. I am in the process of checking this out on my installation. I will follow up if I am successful.
]]>Hello,
I am new to this plugin.
I am not able to install it, as I get the following error :
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in C:\Users\xxxxxxxxxxxxxxxxxxxxx\iwpserver\htdocs\wordpress\wp-content\plugins\abase\abase_plugin_options.php on line 129
Any hint ?
]]>Thank you for this excellent database plugin!
After carefully following the instructions and browsing some of the ABASE forum messages, the search, add and edit features work great!
I have one remaining issue which I hope to find a resolution, including sharing my working code with others in hopes of helping the community.
Within my database, there is both PDF and IMAGE browse buttons which enable a user to upload both files. Once successfully added to the database, a search of the item displays the IMAGE thumbnail correctly, but the PDF icon image is looking for “part#.jpg” which of course does not exist as there is only the “part#.pdf” which is correctly linked to the uploaded PDF file. I would like the PDF icon to simply display a 50x50px “PDF.jpg” PDF icon located in the “/files/PDF” folder for all PDF files.
The following code is the search feature:
[abase form="1,search,/parts" table="inventory" columns="PART_NUMBER$Search Part Number" elements="PART_NUMBER"]
[abase table="inventory" columns="PART_NUMBER!'text 150;30;-5',DESCRIPTION!'text 150;30;-5',MANUFACTURER!'text 150;30;-5',QUANTITY!'text 150;30;-5',PDF!'width:50px;vertical-align:-25px;',IMAGE!'width:50px;vertical-align:-25px;'" images="PDF,IMAGE" notitle="0" rlink="PART_NUMBER" limit="1" ack="1,GREEN"]
I hope we can find a solution to this situation. Thank you.
]]>Fatal error: Cannot redeclare your_plugin_settings_link() (previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-login-box/plugin.php:148) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/abase/abase.php on line 50
]]>How would I display just one FIELD VALUE from a ROW from a TABLE?
I want to design a Grid Table in HTML and place the FIELDs in the correct Table CELLs
Thank you.
]]>Hi Guys, I have trouble with a simple concat-query (which works fine in phpmyadmin).
I want to add some text before displaying content:
[abase sql="SELECT CONCAT('Category: ',
Category,
Year) FROM ..."]
What am I doing wrong if its working in phpmyadmin but not via ABASE?
Thanks in advance,
Florian
Hi,
I am new to wordpress and abase. Installed abase plugin. With default configuration tried to type [abase] in my page. while viewing got an error saying fatal error [636]. I am using default database wordpress-test. Kindly guide me through.
]]>Hello,
I’m developing a website where I’d like to insert some records into 1 table that references values in another (for example, insert records into internship table that references a companies table. As I insert a new record into the internship table using the provided forms, I would like for there to be a drop-down of all the possible companies that could provide the internship to choose from as I’m creating the new record.
Is there a way to this?
Please let me know.
Thanks,
Marina
Hello,
(I am a real beginner) I would like to display a table which has 2 columns with links (so that one has the possibility to access 2 different files associated with the same “employee”).
Using the forum I could find how to create one link (the address of the file is given in column1_file):
[abase table=”example” columns=”column1,column2″ alink=”column1,,column1_file,’_blank'” notitle=”0″]
But I don’t see how I can create a second link for the second column (the address of the file is given in column2_file). I tried my luck with different combinations but nothing works.
Does someone have a suggestion?
Thank you in advance!
]]>I have run through all of the post here and only 3 seem to ask specifically how to implement form elements, 1 implies that they figured out how to get the checkbox to show but no example.
Can anyone please give me an example how to implement the checkbox. I have tried using the reference provided and the syntax is not clear.
I have used such as:
[abase form=”1,search” table=”StylePlans” columns=”StyleName” elements=”StyleName!checkbox <constant>”Ranch” ][/abase]
and many combinations, the check box does not show. Grouping 3 of them is my ultimate goal.
Thanks in advance.
]]>Hi
I read a table to display which could be empty or not. I would like to display a individual string, when there are no data to select (sql-error 100). I couldn’t find any code for this.
Hello, can anyone help me how can i change an input type in an insert form or update form? this is so urgent!
]]>