I moved the thread from the blog to here instead.
I still have problem with this.
I made the change on line 12 in phpthumb.php but now I get another
error.
I run my dev site on MAMP with php 5.2.5. Could that be a problem?
-------
Notice: Use of undefined constant ’E_DEPRECATED’ - assumed
'’E_DEPRECATED’' in /Users/jens/Sites/chwisgi-dev/wp-content/plugins/
magic-fields/thirdparty/phpthumb/phpThumb.php on line 12
Warning: Cannot modify header information - headers already sent by
(output started at /Users/jens/Sites/chwisgi-dev/wp-content/plugins/
magic-fields/thirdparty/phpthumb/phpThumb.php:12) in /Users/jens/Sites/
chwisgi-dev/wp-content/plugins/magic-fields/thirdparty/phpthumb/
phpThumb.php on line 335
----------
Earlier discussion from the blog below.
Me:
------------
@hunk: The file are uploaded to the correct folder (for me uploads)
but I seem to get an error in one of the phpthumb files, phpThumb.php.
See error below.
Notice: Use of undefined constant E_DEPRECATED – assumed
‘E_DEPRECATED’ in /Users/jens/Sites/chwisgi-dev/wp-content/plugins/
magic-fields/thirdparty/phpthumb/phpThumb.php on line 12
------------
Hunk:
-----------
change the line 12 of the phpThumb.php (wp-content/plugins/magic-
fields/thirdparty/phpthumb)
error_reporting(E_ALL & ~E_DEPRECATED);
for this
if (defined(’E_DEPRECATED’)) error_reporting(E_ALL & ~E_DEPRECATED);
else error_reporting(E_ALL);
------------
E_DEPRECATED is one new error level of php 5.3
http://php.net/manual/en/migration53.deprecated.php
with the change it will have to work correctly