Hello,
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:
[img]http://abstrus.de/images/after-image-upload.jpg[/img]
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?
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
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.
Quote:
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...
the system is now up and running on my live server with register_globals=Off.
But the problem still persists.
I will PM you the URL and login data so you can check it yourself.
Cheers
gerhard
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
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.