Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Information box in admin


Recommended Posts

I have installed the information box by calman.

I have loaded the sql files included in the zip. When I go to my admin/information box and click on any of the listings I get this error.

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?osCAdminID=7016d804ab5e73dc7cc24b2d9793d0b8' at line 1

 

The listings are shipping and returns, privacy policy, contact us, about us, and conditions of use.

I know nothing about how to fix this. Can anybody help me?

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

  • 1 year later...
Can anyone help?

if you call about_us.php in admin directly (without the information.php) you must supply a value for $info_lang.

This can easely be done with this command

if ($info_lang == '') $info_lang = (int)$languages_id;

 

before

echo '<BR><BR><font size=-3>Select ';

 

if ($info_lang == 1) {

echo '<a href="' . tep_href_link('about_us.php?info_lang=1', '', 'NONSSL') . '"><font color=blue><b>English</b></font></a>';

 

This must be done in each 4 files about_us, condition, privacy and Shipping

Edited by aris99
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...