forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: kaizer on December 23, 2005, 11:14:49 pm

Title: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: kaizer on December 23, 2005, 11:14:49 pm
I just installed coppermine version 1.4.2.

Apache:   Apache/1.3.33 (Win32)
MySql:   4.1.12a-nt-log
PHP:   5.0.4

And I get a bunch of error messages at the top of the main page as follow:

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 26

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 27

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 28

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 29

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 31

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 32

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 33

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 34

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\www\gallery\include\debugger.inc.php on line 35

Strict Standards: Assigning the return value of new by reference is deprecated in c:\www\gallery\include\debugger.inc.php on line 129

My gallery is at:
[edit GauGau]
URL removed as per request
[/edit]

Any ideas?

Thanks!
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: donnoman on December 23, 2005, 11:32:36 pm
this is to be expected when you use OO code designed for PHP4 with the PHP5 interpreter.

Since PHP4 is still the minimum requirement it's doubtful we will address this until PHP5 becomes the minimum requirement.

In the meantime just turn off warnings and notices.
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: kaizer on December 24, 2005, 12:00:01 am
Where do I turn off the warnings and notices?

thanks for the quick reply!
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: donnoman on December 24, 2005, 03:30:06 am
Check in the config at the bottom, I think its under Misc. If that failes then you need to modify the error reporting in the php.ini on the webserver.
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: kaizer on December 24, 2005, 12:00:01 pm
Ok,

Is it good to assume that the functioning of the gallery will not be affected by these conditions?


Thank you! muchly muchly! great gallery software!
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: Joachim Müller on December 24, 2005, 01:21:12 pm
Is it good to assume that the functioning of the gallery will not be affected by these conditions?
yes
Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: kaizer on December 31, 2005, 08:45:24 am
could you please remove my website address from the forum? :)

Thanks!


Title: Re: Error messages at top of index.php - Strict Standards: var: Deprecated
Post by: Joachim Müller on December 31, 2005, 01:09:57 pm
you could have edited your own post. However, I did as requested.