vietnam Posted April 16, 2010 Share Posted April 16, 2010 If you get Fatal Error when you try to regenerate the thumbs.... most likely you don`t have installed GD libraries or they are not activated I do not think it`s prestashop related.... maybe it`s got something about my server...but i do not kno0w what..Warning: scandir(/home/mobila-online/public_html/img/c/) [function.scandir]: failed to open dir: Permission denied in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 172Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 172Warning: Invalid argument supplied for foreach() in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 173Warning: scandir(/home/mobila-online/public_html/img/c/) [function.scandir]: failed to open dir: Permission denied in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 179Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 179Warning: Invalid argument supplied for foreach() in /home/mobila-online/public_html/admin123/tabs/AdminImages.php on line 180Fatal error: Call to undefined function imagecreatefromjpeg() in /home/mobila-online/public_html/images.inc.php on line 210 Link to comment Share on other sites More sharing options...
vietnam Posted April 16, 2010 Author Share Posted April 16, 2010 [root@roxymob ~]# yum remove php-gdLoaded plugins: fastestmirror, prioritiesSetting up Remove ProcessResolving Dependencies--> Running transaction check---> Package php-gd.x86_64 0:5.2.10-1.el5.centos set to be erased--> Processing Dependency: php-gd for package: php-pear-Image-Color--> Running transaction check---> Package php-pear-Image-Color.noarch 0:1.0.3-1.el5 set to be erased--> Processing Dependency: php-pear(Image_Color) >= 1.0.0 for package: php-pear-Image-Canvas--> Running transaction check---> Package php-pear-Image-Canvas.noarch 0:0.3.1-1.el5 set to be erased--> Processing Dependency: php-pear(Image_Canvas) >= 0.3.0 for package: php-pear-Image-Graph--> Running transaction check---> Package php-pear-Image-Graph.noarch 0:0.7.2-4.el5 set to be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package Arch Version Repository Size================================================================================Removing: php-gd x86_64 5.2.10-1.el5.centos installed 362 kRemoving for dependencies: php-pear-Image-Canvas noarch 0.3.1-1.el5 installed 248 k php-pear-Image-Color noarch 1.0.3-1.el5 installed 47 k php-pear-Image-Graph noarch 0.7.2-4.el5 installed 1.2 MTransaction Summary================================================================================Install 0 Package(s)Update 0 Package(s)Remove 4 Package(s)Is this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction Erasing : php-gd 1/4 Erasing : php-pear-Image-Color 2/4Failed loading /usr/lib64/php/modules/xdebug.so: /usr/lib64/php/modules/xdebug.so: undefined symbol: alloc_globalsPHP Warning: PHP Startup: json: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0PHP Warning: PHP Startup: radius: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0 Erasing : php-pear-Image-Graph 3/4Failed loading /usr/lib64/php/modules/xdebug.so: /usr/lib64/php/modules/xdebug.so: undefined symbol: alloc_globalsPHP Warning: PHP Startup: json: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0PHP Warning: PHP Startup: radius: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0 Erasing : php-pear-Image-Canvas 4/4Failed loading /usr/lib64/php/modules/xdebug.so: /usr/lib64/php/modules/xdebug.so: undefined symbol: alloc_globalsPHP Warning: PHP Startup: json: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0PHP Warning: PHP Startup: radius: Unable to initialize moduleModule compiled with module API=20050922, debug=0, thread-safety=0PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0Removed: php-gd.x86_64 0:5.2.10-1.el5.centosDependency Removed: php-pear-Image-Canvas.noarch 0:0.3.1-1.el5 php-pear-Image-Color.noarch 0:1.0.3-1.el5 php-pear-Image-Graph.noarch 0:0.7.2-4.el5Complete![root@roxymob ~]#What to do ? Remove php and try to install it over a gain ? Link to comment Share on other sites More sharing options...
vietnam Posted April 16, 2010 Author Share Posted April 16, 2010 Can be closed. I have deleted and reinstalled php a couple of times and now it`s working Thanks very much Link to comment Share on other sites More sharing options...
Recommended Posts