When I start my web page now, I get the following errors in the menu field:
Strict Standards: Non-static method JSite::getMenu() should not be called statically in /Store/PINYL/public_html/veteranvogn/components/com_phocagallery/router.php on line 38
This message is repeated three times, but one of the line numbers is different.
I have upgraded to 3.2.3 but that didn't help.
I run the exact same script and the exact same source files and database on another server, and get no errors.
Any idea what can be wrong?
PHP errors - SOLVED
-
- Phoca Newbie
- Posts: 7
- Joined: 12 Feb 2013, 13:24
PHP errors - SOLVED
Last edited by ingeva on 06 Apr 2013, 12:04, edited 1 time in total.
-
- Phoca Newbie
- Posts: 7
- Joined: 12 Feb 2013, 13:24
Re: PHP errors
I should add that my php version is
PHP Version 5.4.6-1ubuntu1.2
I'm using LinuxMint Mate 14.
This error occurs on my local machine, NOT on the WEB server although the database and all files under the domain are identical (except the configuration file of course, where the database has another name/password).
I have checked that all PhocaGalleries tables in the database are OK.
PHP Version 5.4.6-1ubuntu1.2
I'm using LinuxMint Mate 14.
This error occurs on my local machine, NOT on the WEB server although the database and all files under the domain are identical (except the configuration file of course, where the database has another name/password).
I have checked that all PhocaGalleries tables in the database are OK.
- Benno
- Phoca Hero
- Posts: 9436
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
-
- Phoca Newbie
- Posts: 7
- Joined: 12 Feb 2013, 13:24
Re: PHP errors
Thank you very much! That helped!
It also explained why the same settings work differently on my local computer: The php.ini setting was different.
Since I'm a developer myself, I want php to report errors - but here I can change the Joomla configuration setting and achieve the same result - local and remote.
- Benno
- Phoca Hero
- Posts: 9436
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: PHP errors - SOLVED
You`re welcome!
Kind regards,
Benno
Kind regards,
Benno