Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

please help..


lisa_ng

Recommended Posts

Posted

hello,

 

can anyone advise?

 

there's an error msg when i access to my website.

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/babyetst/public_html/includes/application_top.php on line 312

 

was wondering how can i resolve this error.

 

thank you.

Posted

Can be browser cache issue restart browser &/or clear browser cache

 

see also http://www.oscommerce.com/forums/index.php?sho...=0#entry1264847

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Hiya

Application_top

 

Check you have this require(DIR_WS_CLASSES . 'navigation_history.php');

 

If you do continue with the below

 

 

Line 312, check for this code

 

if (tep_session_is_registered('navigation'))

{

if (PHP_VERSION < 4)

{

$broken_navigation = $navigation;

$navigation = new navigationHistory;

$navigation->unserialize($broken_navigation);

}

}

else

{

tep_session_register('navigation');

$navigation = new navigationHistory;

}

 

 

 

If its exactly the same, replace it with

 

// navigation history

if (tep_session_is_registered('navigation')) {

if (PHP_VERSION < 4) {

$broken_navigation = $navigation;

$navigation = new navigationHistory;

$navigation->unserialize($broken_navigation);

} else {

$navigation = new navigationHistory;

}

} else {

tep_session_register('navigation');

$navigation = new navigationHistory;

}

 

$navigation->add_current_page();

 

NIc

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

hi all,

 

thanks for your advises.

 

i open an other browser and it's working. :)

 

 

will anyone be able to advise how can i add in a sentence to the text_main line?

is this where that the sentence i input will appear in the home page under this line?

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

do i input the sentence in admin - define languages - index.php?

 

i'm not not least familiar with oscommerce.

will appreciate if the instructions can be simplifier. :)

 

thanks so much for your help.

  • 2 weeks later...
Posted
hi all,

 

thanks for your advises.

 

i open an other browser and it's working. :)

 

 

will anyone be able to advise how can i add in a sentence to the text_main line?

is this where that the sentence i input will appear in the home page under this line?

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

do i input the sentence in admin - define languages - index.php?

 

i'm not not least familiar with oscommerce.

will appreciate if the instructions can be simplifier. :)

 

thanks so much for your help.

Simple

the install should have helped but in case you haven't read it

 

When your in the admin page of your catalog

 

go down to the tools section

 

find the file manager

 

find the catalog/includes/language/english/index.php

 

click the edit button

 

in the new window that opens find the line that starts with this

 

define('TEXT_MAIN','

 

after the ,' edit your text to what you want to say making sure you delete everything to the <br> tag in front of the information to oscommerce it should look like this:

 

 

define('TEXT_MAIN', 'your text here<br> <br>

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support site of osCommerce</u></a>. This shop is running on <font color="#f0000"><b>' . PROJECT_VERSION .');

 

hope this helps

Posted
Simple

the install should have helped but in case you haven't read it

 

When your in the admin page of your catalog

 

go down to the tools section

 

find the file manager

 

find the catalog/includes/language/english/index.php

 

click the edit button

 

in the new window that opens find the line that starts with this

 

define('TEXT_MAIN','

 

after the ,' edit your text to what you want to say making sure you delete everything to the <br> tag in front of the information to oscommerce it should look like this:

 

 

define('TEXT_MAIN', 'your text here<br> <br>

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support site of osCommerce</u></a>. This shop is running on <font color="#f0000"><b>' . PROJECT_VERSION .');

 

hope this helps

Never ever use the osc filemanager.

Archived

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

×
×
  • Create New...