this is really a great piece of software.Thank you.
I've installed and everything seemed to work good until I uploaded the first image.
After pressing the upload button, I get a distorted confirmation page without navigation bar.
Heres a screenshot:
I've tried it with 2 installations on 2 different machines with firefox,IE. And it always happens. Has anybody else experienced this? And is there a fix?
Total Posts: 1395
I think this may be due to register_globals, does your server have the php setting register_globals set to ON?. If so then that could cause a problem as the main menu and the image upload module use the same name for a variable and an array.
If you do have it on, try disabling it in your php.ini file, restart the server then try uploading again to see if the problem still persists.
thanks for the fast reply.
register_globals is already set to off. No errors in the apache error.log. One of the machines is Linux with Apache2,PHP Version 5.2.6-3ubuntu4.5. The other one Win XP with latest version of AppServ. Any other ideas?
This is very strange indeed. Does this happen on both machines?. Probably a silly question but is error_reporting and display_errors set correctly?
error_reporting = E_ALL & ~E_NOTICE and display_errors = On
I've set php to output errors to a log file. But it won't put out anything.
Does the same thing happen when you try uploading a file via Options > File Uploads?
Yes. Also when I update info on an image. On the distorted page choosing Category: 'All Categories' takes me back to the correctly displayed image upload page. Thumbs for newly added images are not correct.
I'll set your system up on my live server and let you know what happens there.
When I try uploading an image through the file uploader, it says: Invalid file extension and I get this error message in apache error.log:
PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/pon/news/modules/thumbnails.php on line 136, referer: http://localhost/pon/news/admin.php?action=options&mod=imageuploads&catid=-1&view=thumbnails
[Wed Feb 10 05:45:39 2010] [error] [client ::1] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/pon/news/modules/thumbnails.php:136) in /var/www/pon/news/modules/thumbnails.php on line 139, referer: http://localhost/pon/news/admin.php?action=options&mod=imageuploads&catid=-1&view=thumbnails
My live server hasno MySQLi extension. Waiting for the provider to install it...
Total Posts: 1395
This is now fixed. If anyone else is getting this problem, download version 3.4 of the script again then grab both modules/modimageuploads.php & modules/modfileuploads.php from it and replace your own copies of these files with the new ones.