Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP Error on installation


Guest

Recommended Posts

Posted

Hi all,

 

I came across a huge problem today, and to be honest I have no clue what is going on and why this is happening.

 

One the page www.kupujem.rs I installed oscommerce.

 

First question: Do you see an error as well when you go on there now?

 

 

It worked fine until I did the following:

I searched for the keyword "Masažeri" as Serbian was selected as my language.

The search results were shown fine, I then clicked English on the language bar, and got the following error:

 

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

 

And whatever I do now, it is not disappearing anymore, even though it worked fine before this action.

 

This behaviour does not make any sense at all to me to be honest.

 

I did have some character problems before with the serbian language and the search results shown properly / or characters not displayed correctly on the website, but I know fixed this by changing the mysql charset to latin2_czech_cs2 (since I did not find serbian, and this seems to have the same character sets).

 

Like I said, after this charset change the search works fine, but now everything is messed up when clicking english while search results are shown.

 

 

EDIT: This seems to be cookie related, since the error is not shown once i deleted my old cookies.

Posted

MY posts here have links to temporary and permanant solutions:

 

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 >

Posted

Hi,

 

Thanks a lot.

 

The more permanent option works like a charm ;-)

 

 

Thanks again,

Max

Archived

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

×
×
  • Create New...