Image Uploads Hang

Permalink
When I try to upload images, the uploading animation will just sit there. Also, when I try to do multiple uploads, there will just be blank upload progress bars.

I have set /files/ and all subfolders to 777.

Also, here is my php5.ini file:

[code]
cgi.fix_pathinfo = 1;
file_uploads => On;
upload_max_filesize => 32M;
post_max_size => 32M;
[/code/

drummer392
 
Remo replied on at Permalink Reply
Remo
Have you checked FireBug or the Chrome Developer Console to see if there's any feedback from the upload script that doesn't show up in the browser?
cherrycake replied on at Permalink Reply
cherrycake
also check to see if PHP GD is working properly.

you could use this scripthttp://www.dagondesign.com/articles/checking-for-gd-support-on-your...
JohntheFish replied on at Permalink Reply
JohntheFish
That would make a neat little starter project for a dashboard addon.

Simply take something like my phpInfo addon and replace the guts (anyone who wants to do this, you are free to re-use my code in this particular instance, but let me know first).

If no one else wants to take this on as a starter project, I will knock it together quickly myself.
Remo replied on at Permalink Reply
Remo
I'll certainly let you build that add-on ;-)
It looks a bit nicer but isn't the environment information we already have enough?
drummer392 replied on at Permalink Reply
drummer392
GD is supported.

The error I am getting right now is this:

<b>Fatal error</b>:  Call to a member function getFileID() on a non-object in <b>/home/content/b/r/a/brandonrray/html/cureforcarlee/updates/concrete5.6.1.2_updater/concrete/tools/files/importers/single.php</b> on line <b>65</b><br />


But now my php5.ini file is causing the error "A username and password are required" when I attempt to login to my site. So I'm kinda in between a rock and a hard place right now.
JohntheFish replied on at Permalink Reply
JohntheFish
This is the sort of error that crops up when an update has not completed. Where the database is at one version of concrete5, but the code is at another version.

Some suggestions (I don't know what your sys admin and development expertise is).

Switch off the cache and clear it (always a good idea when you have a bug)

If you are familiar with phpMyAdmin, look at the Config table and see what versions of concrete5 it thinks the database is. Check that against the update info in config/site.php.

Have a look in .htaccess for anything other than the regular c5 redirect block.

Make a backup (before doing anything more)

Maybe manually re-run the 5.6.1.2 updater.
drummer392 replied on at Permalink Reply
drummer392
Thanks,

In CONFIG, everything says version 5.6.1.2, except SITE_INSTALLED_APP_VERSION = 5.5.2.1

Is this the error?
Remo replied on at Permalink Reply
Remo
you did call /index.php/tools/upgrade after you've upgraded your site, didn't you?
JohntheFish replied on at Permalink Reply
JohntheFish
There is a good chance that is the error.

Make a backup (just in case), then run the upgrade manually as Remo has described (I think there are more instructions in the text file that comes with the upgrade)
drummer392 replied on at Permalink Reply
drummer392
So here is what is happening.

Since I had to take off my php5.ini settings that I mentioned in the first post, I am getting this error:

An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables.


If I were to put those settings back in, then I wouldn't be able to log back into the site without getting the "A username and password are required" error message.

I went ahead and manually ran the upgrade again and was successful in upgrading, but it's hard to check and see if anything is working. If I get the uploads to work, then I can't log in, and if I can't upload files, then I CAN log in, but then I can't complete the site I am working on.

Thanks for your help.
drummer392 replied on at Permalink Reply
drummer392
Downloaded 5.6.1.2 and did a clean install. Added the php5.ini back. Now everything works perfectly.

Thanks for your advice!