68 Classifieds Forums

Image upload PROBLEM!

This is a discussion on Image upload PROBLEM! within the v3.1 Questions & Support forums, part of the v3.1 Legacy Help & Support category; Hello, I had a previous classified script with GD image uploading feature. Worked really great. So I know my hosting ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Questions & Support

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-29-2007, 04:19 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Rep Power: 7
midoplaz is on a distinguished road
Exclamation Image upload PROBLEM!

Hello,

I had a previous classified script with GD image uploading feature. Worked really great. So I know my hosting supports it.

Now with C68, I adjusted my max. kb to 4000.

While uploading an image, the page becomes blank and stops responding.
The image is about 800kb.

When uploading an image of about 80kb it uploads fine.

Please help.
www.midoplaza.com

Thanks
Mitch

Reply With Quote
  #2  
Old 07-29-2007, 07:10 PM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,655
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

If you can upload small images fine then its a setting on your server. There are many limits in PHP that may effect size limits. There is space in the temp dir, there is an script timeout limit to name some. Also some hosts dont allow you do override all settings.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #3  
Old 07-29-2007, 07:37 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Rep Power: 7
midoplaz is on a distinguished road
Default

Thanks for your reply.

My privious classified software was PERL/CGI based and it worked fine for any size. I'm not sure if it makes a difference with my host.

If my host has to change something. What do they have to do?

Thanks
Mitch
Reply With Quote
  #4  
Old 07-29-2007, 08:07 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Rep Power: 7
midoplaz is on a distinguished road
Default

Here's my host info. I think they have everything needed.

http://midoplaza.com/phpinfo.php
Reply With Quote
  #5  
Old 07-29-2007, 11:13 PM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,655
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by midoplaz View Post
Thanks for your reply.

My privious classified software was PERL/CGI based and it worked fine for any size. I'm not sure if it makes a difference with my host.

If my host has to change something. What do they have to do?

Thanks
Mitch
It would matter because for PHP, which is whats used by 68C, there are many settings that can impact uploaded file sizes.

max_execution_time is 30 seconds so if it takes more time than that to upload the script will time out.

upload_max_filesize is set to 2m (ie 2 megabytes) and if you upload a 4000k (ie almost 4 megabytes) that likely is your problem.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #6  
Old 07-29-2007, 11:48 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Rep Power: 7
midoplaz is on a distinguished road
Default

Hi Larry,

I've tried uploading a 615Kb image and still no luck.

It also timed-out in less than 10 secondes, so I imaging it's not a "max_execution_time" issue.

I've got this error at the bottom of the page when I search categories:
" Warning: Smarty error: unable to read resource: "userjoin.php" in /home/midoplaz/public_html/classifieds68/includes/classes/smarty/Smarty.class.php on line 1095 "
www.midoplaza.com
I wonder if it has anything to do with it?

thanks
Mitch
Reply With Quote
  #7  
Old 07-30-2007, 10:49 AM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,307
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Mitch,

That error could be associated with this. Can you try to upload all the files again except for any you modified and not the connections/classifieds.php and see if that sorts it out?
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Host or Script problem? Grebogreen v3.1 Questions & Support 3 05-08-2007 10:49 AM
Problem of importation (upload) of image on HTML editor jabs v3.1 Questions & Support 3 04-05-2007 08:43 AM
Image upload problems... Mikael v3.1 Questions & Support 13 02-22-2007 09:46 AM
File Upload Feature Problem sporthorsebreeder v3.1 Questions & Support 9 07-27-2006 10:34 AM
Problem with viewing large image martini55 v3.1 Questions & Support 8 05-03-2006 02:17 PM


All times are GMT -4. The time now is 05:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22