Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Version 5.3.0 Issues #1

Closed
masterexploder opened this issue Oct 26, 2009 · 3 comments
Closed

PHP Version 5.3.0 Issues #1

masterexploder opened this issue Oct 26, 2009 · 3 comments

Comments

@masterexploder
Copy link
Owner

In my error log, I'm getting these errors. The result of this, is that the plugins don't work anymore.

PHP Notice: Undefined index: JPG Support in /home/images/public_html/functions/GdThumb.inc.php on line 1080

and

PHP Warning: Parameter 6 to GdReflectionLib::createReflection() expected to be a reference, value given in /home/images/public_html/functions/ThumbBase.inc.php on line 197

Any ideas how to fix these issues?

Notes:
PHP Thumb Version 3.0.063
PHP 5.3
GD 2.0.34

@masterexploder
Copy link
Owner Author

Note that this ticket was migrated from the old issue tracker...

@masterexploder
Copy link
Owner Author

Fixed JPEG support detection in PHP 5.3 closed by c0f780b

@gexingo
Copy link

gexingo commented Dec 30, 2009

the second one (reflection thing) is fixable.

i've had the same problem, here how you fix it:
just go to the file gd_reflection.inc.php and change the function call to this:

public function createReflection ($percent, $reflection, $white, $border, $borderColor, $that)

(just delete the & before the $that)
than it should work (at least it does in my project)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants