IPrice minimart
powerfull & flexible online Store, price-lists and catalogs for Joomla
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: error messages

error messages 10 years 10 months ago #525

  • StevenDV
  • StevenDV's Avatar
  • Offline
  • Новый участник
  • Posts: 5
  • Karma: 0
Hi,

I am using SmartResizer plugin on an intranet site.
we are now using Apache/2.4.4 (Win32) PHP/5.3.26 and ar getting the following error messages.

Error in function loadImage: That file cannot be loaded with the function 'imagecreatefromjpeg'.

Error in function redimToSize: The original image has not been loaded.

Error in function saveImage: There is no processed image to save.

could you please help on this?
Thank you in advance.

edit: I should add that the thumbnails are not created and therefor not shown (there is just text in stead) but when we click on this text, the behavior is normal as expected and set in the setings of the plugin. (in our case a popup)
Last Edit: 10 years 10 months ago by StevenDV. Reason: added info
Login or register to post message.

error messages 10 years 10 months ago #526

  • support
  • support's Avatar
  • Offline
  • Администратор
  • Posts: 1905
  • Thank you received: 311
  • Karma: 59
Is there problem with one image or with all images? If one, plese, attach this image (original image) to the forum message. I will chek creating thumbnail for this image on my test site
Login or register to post message.

error messages 10 years 10 months ago #527

  • StevenDV
  • StevenDV's Avatar
  • Offline
  • Новый участник
  • Posts: 5
  • Karma: 0
No the problem is with all the images, so it is more general.
I had this installed om the same site (another server and Ubuntu not Windows) where it was working fine.
It is only after the migration to windows (and a newer version of apache and php) we had this problem.
I have uninstalled and reinstalled the plugin after the migration to make sure this was not creating a problem.
When I activate debugging, I have more messages, could maybe these messages help you?

best regards and thank you for the fast response.
Login or register to post message.

error messages 10 years 10 months ago #528

  • support
  • support's Avatar
  • Offline
  • Администратор
  • Posts: 1905
  • Thank you received: 311
  • Karma: 59
I have more messages, could maybe these messages help you?
Yes, may be their can help.

But I think that something wrong with PHP graphic library on you web server for windows. Check if you php server supports GD2 library.
Login or register to post message.

error messages 10 years 10 months ago #529

  • StevenDV
  • StevenDV's Avatar
  • Offline
  • Новый участник
  • Posts: 5
  • Karma: 0
this is the message I get when error reporting is on maximum:

( ! ) Strict standards: Only variables should be assigned by reference in C:\etc\apache24\htdocs\plugins\content\smartresizer\smartresizer.php on line 143
Call Stack
# Time Memory Function Location
1 0.0000 345312 {main}( ) ..\index.php:0
2 0.2496 8049712 JSite->dispatch( ) ..\index.php:52
3 0.2652 8068792 JComponentHelper::renderComponent( ) ..\application.php:221
4 0.2652 8087872 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.2652 8134856 require_once( 'C:\etc\apache24\htdocs\components\com_content\content.php' ) ..\helper.php:359
6 0.2808 8578104 JControllerLegacy->execute( ) ..\content.php:16
7 0.2808 8578152 ContentController->display( ) ..\legacy.php:722
8 0.2808 8580104 JControllerLegacy->display( ) ..\controller.php:79
9 0.2964 9438272 ContentViewFeatured->display( ) ..\legacy.php:685
10 0.4056 13903920 JEventDispatcher->trigger( ) ..\view.html.php:98
11 0.4056 13904472 JEvent->update( ) ..\dispatcher.php:161
12 0.4056 13904976 call_user_func_array ( ) ..\event.php:71
13 0.4056 13905000 plgContentSmartResizer->onContentBeforeDisplay( ) ..\event.php:71
14 0.4056 13905000 plgContentSmartResizer->onPrepareContent( ) ..\smartresizer.php:135

On the site I have a lot more but the only difference is the line number (which I have put in red)

all the line number I get are:
143, 147, 381, 386, 596

and these repeats a few times (I suspect for every image)

where and how can I find out if this server supports GD2 library? and is this soething I could configure or install on the server?
Login or register to post message.

error messages 10 years 9 months ago #532

  • support
  • support's Avatar
  • Offline
  • Администратор
  • Posts: 1905
  • Thank you received: 311
  • Karma: 59
Errors in lines 143, 147, 381, 386, 596 - is not errors, but only warnings. They occurs on new version of PHP and does not affect the execution. If you are concerned about these errors, you can download and install the fixed version from SmartResizer overview page: iprice-web.ru/en/products/smartresizer

The real problem is this error: Error in function loadImage: That file cannot be loaded with the function 'imagecreatefromjpeg'. It is mean that your php server does not include the function "imagecreatefromjpeg". Usually this function is built-in into PHP : php.net/manual/en/function.imagecreatefromjpeg.php .
But for some reason it does not exist on your server. You can use Google search to learn about known problems of this function on php servers.
Last Edit: 10 years 9 months ago by support.
Login or register to post message.
The following user(s) said Thank You: StevenDV
  • Page:
  • 1
  • 2
Moderators: support

Subscribe



Subscribe to our newsletter and social networks to be updated with the latest updates.

Login