Osclass forums
Support forums => General help => 3.7.x => Topic started by: Nirav_radia on December 31, 2016, 10:30:50 am
-
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
-
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.
-
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.
-
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.
-
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?
-
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.
-
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).
-
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)
-
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
-
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.
-
Maybe his problem is that he has installed Osclass in a subdirectory (inside public_html) and not in public_html.
-
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
-
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:
-
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.
-
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 ....
-
because in the new installation the option to use imagemagick in oc-admin is unchecked and he is using GD library
-
because in the new installation the option to use imagemagick in oc-admin is unchecked and he is using GD library
I'm sorry i don't follow. You seem to know that he has manually imported his site from a previous hosting. Is that true ?
-
because in the new installation the option to use imagemagick in oc-admin is unchecked and he is using GD library
Also this guy has this:
http://forums.osclass.org/3-7-x/unable-to-access-admin-part-(oc-admin)/
so something else is wrong.
-
Php info results.
No I have never used any other hosting.
-
this is why.
If he can't modify the database he must ask to hosting support
-
this is why.
If he can't modify the database he must ask to hosting support
If this is the case, he better delete everything (files / db / user of db) and install from scratch. That is best.
But he said he never used any other hosting. So what you say can't be right.
-
But modify a value in DB in preference table is not that difficult
-
Difference between indiansclassifieds.com & test.indiansclassifieds.com
-
What happens if in you main site (not the test) you disable (uncheck) Imagick box (in Osclass) ?
-
As i said, the value change in DB will fix the problem.
If you can't do that, you need to re-install osclass and database or you need to whait for godaddy support
What happens if in you main site (not the test) you disable (uncheck) Imagick box (in Osclass) ?
he can't, imagemagick is not installed and osclass don't let you change that option, that is why i said what i said
-
he can't, imagemagick is not installed and osclass don't let you change that option, that is why i said what i said
But you said that happened because he transfered his site from an other hoster. And that didn't happen.
All-in-all, i doubt this is the case and if it is, then why it happened ?
Also in his Cpanel (not Osclass) Imagich extension seems installed and activated. As far as i know, that is enough.
Anyway, best for him is to start from scratch.
-
That option in oc-admin can be checked only if imagemagick is installed.
Or he import the database from a different hosting that had imagemagick installed
Or he mess up with database in phpmyadmin
Or his hosting had imagemagick installed and working before and somehow now is not working anymore
As i said, if he can't modify the database he need to make a new installation, but he will loose all the ads
-
That option in oc-admin can be checked only if imagemagick is installed.
Or he import the database from a different hosting that had imagemagick installed
Or he mess up with database in phpmyadmin
Or his hosting had imagemagick installed and working before and somehow now is not working anymore
As i said, if he can't modify the database he need to make a new installation, but he will loose all the ads
Just cheched his site and it is not empty. So a new installation is not possible.
I thought that was new.
I wonder how this happened since he said he hasn't moved or anything.
Also he has this:
I am trying to access my admin panel but sometime it's not loading :(
Error log :
[30-Dec-2016 17:07:48 Asia/Kolkata] PHP Fatal error: Call to a member function numRows() on a non-object in /home/macularmetrics/public_html/oc-includes/osclass/model/Admin.php on line 63
[30-Dec-2016 17:21:25 Asia/Kolkata] PHP Fatal error: Call to a member function numRows() on a non-object in /home/macularmetrics/public_html/oc-includes/osclass/model/Admin.php on line 63
or sometime its taking long time to load.
-
First of all I have never made any changes in my files or phpmyadmin.
Hosting had imagemagick installed and working before and somehow now is not working anymore this is true.
I asked godaddy to swtich my PHP version from 5.4 to 5.6 but with 5.6 my website is not working. It's showing blank page.
They are telling to give proper module where Imagick is working proper.
Now please guide me what can I do further?
Thanks to both of you for your help.
-
I am trying to access my admin panel but sometime it's not loading :(
Error log :
[30-Dec-2016 17:07:48 Asia/Kolkata] PHP Fatal error: Call to a member function numRows() on a non-object in /home/macularmetrics/public_html/oc-includes/osclass/model/Admin.php on line 63
[30-Dec-2016 17:21:25 Asia/Kolkata] PHP Fatal error: Call to a member function numRows() on a non-object in /home/macularmetrics/public_html/oc-includes/osclass/model/Admin.php on line 63
or sometime its taking long time to load.
I am able to login directly on listing page.
Yes I am using this link for login
http://www.indiansclassifieds.com/oc-admin/index.php?page=items
-
As i originally said, find a proper web hosting. That's it. Simple.
With Osclass all i read here are problems with Godaddy (and also the same in some Wordpress forums i follow).
-
Okay I have purcahsed yearly package from Godaddy & my website has many ads.
What can I do if I want to make full back up & fresh installation.
-
as hoster i prefer all-inkl.com for small business
if you have access to ssl, zip your home folder, otherwise download all files separately, then go to phpmyadmin, make a backup of your database and download it too...
after this you have to setup your new space, upload your files and import your database...
if this is finished, you have to modify your config.php to the new database and path
-
A full back up & fresh installation will not solve the upload problem because you will have the same setting in the database preference.
In your php info file imagemagick is not installed, you can try to ask to godaddy support to install it and show them the php info so they cant say that is already installed.
If you can try to modify a value in database is the fastest way to fix the image upload problem
-
http://forums.osclass.org/general-help/imagemagick-not-loaded/
I found this while googling.
Is this useful?
-
http://forums.osclass.org/3-7-x/partial-solvederror-uploading-pictures-imagemagick-library-is-not-loaded/
Partially solved