Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call on ...... /application_top.php on line 312


suri1402

Recommended Posts

Hello guys, I am really appreciates if someone may help me to solve this :

 

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

 

what i know i was editing a few words at index.php and then try to refresh the front page of my website.

 

Please help me.

 

suri

Link to comment
Share on other sites

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

A more permanant fix (than the one in my first post) might be found 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

  • 11 months later...

Ok thanks for the quick reply. The error is gone, but the currencies and languages box still show up even after I've deleted:

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

from the colum_right.php file

Link to comment
Share on other sites

Sometimes after changing a web page you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server.

 

This works with IE and Firefox.

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

  • 3 months later...

Should be either due to browser history and some cache on Your site.

 

So press CTRL as JIm stated or make sure to empty cache folder.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 3 months later...

Hi, there is a problem with the more permanent solution. After login to an account i am always thrown back to the startpage. Should be checkout or account information.

 

Anyone had this Problem too?

life long and knusper

Link to comment
Share on other sites

  • 2 months later...

Hi, there is a problem with the more permanent solution. After login to an account i am always thrown back to the startpage. Should be checkout or account information.

 

Anyone had this Problem too?

 

I was having the same problem, i deleted the fix i hope this doesnt happen again.Don't anyone have another solution for this issue?

Link to comment
Share on other sites

  • 2 months later...

Archived

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

×
×
  • Create New...