Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help me to solve this..


mefino

Recommended Posts

Hi,

 

Would you please help me to solve this problems as I suddenly cannot access the site.

 

error below:

Fatal error: Call to a member function add_current_page() on a non-object in /catalog/includes/application_top.php on line 313

 

When I tried to restore form the Admin, it show another error:

 

1064 - 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 'left', 'right'),' , PRIMARY KEY (configuration_id) )' at line 14

 

create table theme_configuration ( configuration_id int(11) not null auto_increment, configuration_title varchar(64) not null , configuration_key varchar(64) default 'BOX_HEADING_' not null , configuration_value varchar(255) not null , configuration_description varchar(255) not null , configuration_group_id int(11) default '1' not null , configuration_column varchar(64) default 'left' not null , location int(5) default '0' not null , sort_order int(5) , last_modified datetime , date_added datetime default '0000-00-00 00:00:00' not null , box_heading varchar(64) not null , set_function varchar(255) default 'tep_cfg_select_option(array('left', 'right'),' , PRIMARY KEY (configuration_id) )

 

I don't know what to do now, please help.

 

Thanks

Link to comment
Share on other sites

Hi,

 

Would you please help me to solve this problems as I suddenly cannot access the site.

 

error below:

Fatal error: Call to a member function add_current_page() on a non-object in /catalog/includes/application_top.php on line 313

 

When I tried to restore form the Admin, it show another error:

 

1064 - 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 'left', 'right'),' , PRIMARY KEY (configuration_id) )' at line 14

 

create table theme_configuration ( configuration_id int(11) not null auto_increment, configuration_title varchar(64) not null , configuration_key varchar(64) default 'BOX_HEADING_' not null , configuration_value varchar(255) not null , configuration_description varchar(255) not null , configuration_group_id int(11) default '1' not null , configuration_column varchar(64) default 'left' not null , location int(5) default '0' not null , sort_order int(5) , last_modified datetime , date_added datetime default '0000-00-00 00:00:00' not null , box_heading varchar(64) not null , set_function varchar(255) default 'tep_cfg_select_option(array('left', 'right'),' , PRIMARY KEY (configuration_id) )

 

I don't know what to do now, please help.

 

Thanks

First error:

 

Follow the links in my posts here: Click Me

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Then you didn't fix it according to instructions. A re-install will do no good, as the bad code is in the original. Read the full discussion -- there were several conflicting suggestions on how to fix it, with only one of them seeming to meet general agreement as the correct one.

Link to comment
Share on other sites

Then you didn't fix it according to instructions.

usual issue as don't bothered to read.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...