Advertisement:

Author Topic: Solved: Error uploading pictures & ImageMagick library is not loaded  (Read 3533 times)

Nirav_radia

  • Newbie
  • *
  • Posts: 25
See attached pictures :

[31-Dec-2016 12:13:15 Asia/Kolkata] PHP Fatal error:  Uncaught exception 'Exception' with message '/home/macularmetrics/public_html/oc-content/uploads/temp/qqfile_586753839c69c.jpg does not exist!' in /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php:41
Stack trace:
#0 /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php(24): ImageResizer->__construct('/home/macularme...')
#1 /home/macularmetrics/public_html/oc-includes/osclass/controller/ajax.php(297): ImageResizer::fromFile('/home/macularme...')
#2 /home/macularmetrics/public_html/index.php(117): CWebAjax->doModel()
#3 {main}
  thrown in /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php on line 41
[31-Dec-2016 12:18:50 Asia/Kolkata] PHP Fatal error:  Uncaught exception 'Exception' with message '/home/macularmetrics/public_html/oc-content/uploads/temp/qqfile_586754d23412e.jpg does not exist!' in /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php:41
Stack trace:
#0 /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php(24): ImageResizer->__construct('/home/macularme...')
#1 /home/macularmetrics/public_html/oc-includes/osclass/controller/ajax.php(297): ImageResizer::fromFile('/home/macularme...')
#2 /home/macularmetrics/public_html/index.php(117): CWebAjax->doModel()
#3 {main}
  thrown in /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php on line 41



Someone please help me what is wrong with website.  :(

I have already contact Godaddy but they are not giving solution.


Thanks
« Last Edit: January 01, 2017, 05:18:25 pm by Nirav_radia »

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #1 on: December 31, 2016, 03:31:04 pm »
Nobody can guess what Godaddy needs to be changed BUT their support. Could be some extension missing, some size restiction, memory limit, many-many things.

Not an issue of Osclass script but a hosting problem.
« Last Edit: December 31, 2016, 03:42:56 pm by Aficionado »

Nirav_radia

  • Newbie
  • *
  • Posts: 25
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #2 on: December 31, 2016, 04:27:33 pm »
But I have installed fresh script on my subdomian

http://test.indiansclassifieds.com & It's working fine.

So I am thinking it's data base problem.

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #3 on: December 31, 2016, 04:35:44 pm »
If so, then it is a "path" problem. Still a hosting problem.

But that doesn't explain the Imagik missing extension. That is global.

As your support for some help.
« Last Edit: December 31, 2016, 04:37:58 pm by Aficionado »

Nirav_radia

  • Newbie
  • *
  • Posts: 25
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #4 on: December 31, 2016, 05:08:11 pm »
I am trying to add listing from my oc-admin & it return with error.


Fatal error: Class 'Imagick' not found in /home/macularmetrics/public_html/oc-includes/osclass/classes/ImageResizer.php on line 47
 

Can you please solve this?



cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #5 on: December 31, 2016, 05:27:38 pm »
The problem is that you are telling osclass to use imagemagick, but imagemagik is not loaded, maybe you import a database from a different hosting.
You have 2 solutions

1) ask your hosting provider to install imagemagick and imagick (php extension).

2)Go to phpMyAdmin and look for the table YOUR-TABLE-PREFIX_t_preference in this table search for use_imagick and change the value (in the column s_value) to 0 (zero). This should fix your problem, then if and when godaddy install imagemagick you can enable it from oc-admin.

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #6 on: December 31, 2016, 05:29:14 pm »
The problem is that you are telling osclass to use imagemagick, but imagemagik is not loaded, maybe you import a database from a different hosting.
You have 2 solutions

1) ask your hosting provider to install imagemagick and imagick (php extension).

2)Go to phpMyAdmin and look for the table YOUR-TABLE-PREFIX_t_preference in this table search for use_imagick and change the value (in the column s_value) to 0 (zero). This should fix your problem, then if and when godaddy install imagemagick you can enable it from oc-admin.

But in his Cpanel capture Imagick is Checked (installed).

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #7 on: December 31, 2016, 05:29:58 pm »
Can you install this and post the results here:

https://market.osclass.org/plugins/miscellaneous/php-info_82

( don't forget to uninstall and delete this after checking and finished)

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #8 on: December 31, 2016, 05:33:45 pm »
But in his Cpanel capture Imagick is Checked (installed).

That is why i said that maybe he import the database from a different hosting that had imagemagick installed, is checked but is not installed.

Sorry Aficionado, i just realized that you was talking about the third picture.
ImageMagick installed is not enough, you need to have installed also Imagick that i think is the php extension needed to use ImageMagick
« Last Edit: December 31, 2016, 05:40:08 pm by cartagena68 »

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #9 on: December 31, 2016, 05:39:08 pm »
But in his Cpanel capture Imagick is Checked (installed).

That is why i said that maybe he import the database from a different hosting that had imagemagick installed, is checked but is not installed.

His problem is not Imagick. His problem is global. Imagick not found could be a result of his problems. He could always use GD in any case.


Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #10 on: December 31, 2016, 05:41:30 pm »
Maybe his problem is that he has installed Osclass in a subdirectory (inside public_html) and not in public_html.


cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #11 on: December 31, 2016, 05:44:33 pm »
Beleve me, the problem he have now is for the database, if he change the value in DB the pictures upload will work. I fix the same problem to a friend.
Then Imagemagick library and imagick extensions are a different problem

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #12 on: December 31, 2016, 05:46:14 pm »
Beleve me, the problem he have now is for the database, if he change the value in DB the pictures upload will work. I fix the same problem to a friend.
Then Imagemagick library and imagick extensions are a different problem

He has posted the capture below:


Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #13 on: December 31, 2016, 05:46:50 pm »

Beleve me, the problem he have now is for the database, if he change the value in DB the pictures upload will work. I fix the same problem to a friend.
Then Imagemagick library and imagick extensions are a different problem


And telling him to manually change the DB is somehow not possible for him.

Aficionado

  • Guest
Re: Error uploading pictures & ImageMagick library is not loaded
« Reply #14 on: December 31, 2016, 05:49:05 pm »
Beleve me, the problem he have now is for the database, if he change the value in DB the pictures upload will work. I fix the same problem to a friend.
Then Imagemagick library and imagick extensions are a different problem

He has posted the capture below:

Also posted that a subdomain installation WORKS for him ok.

So ....