Page 1 of 1
Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Tue 29. Jan 2008, 14:03
by peteburgess
I'm pretty sure I took all the right steps in the upgrade but I seem to have one problem. I can not see the images in the file browser. This is the case with the images that were there before the upgrade but also the images I try to upload. When I try to upload an image to the file list it seems to work. You can see it listed and it has a file size. I also do not get any errors. The problem is when I try to view it. I click it in the list but the preview is blank. Also, when I try to add it to a content part, it doesn't show up in the popup browser. I can see the directory for the file I created but not the image. Any help would be greatly appreciated. Thanks.
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Tue 29. Jan 2008, 22:34
by peteburgess
Anybody have an idea of what could be the problem?
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Tue 29. Jan 2008, 23:09
by cyppher.nl
peteburgess wrote:Anybody have an idea of what could be the problem?
are all directory rights ok?
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 07:06
by flip-flop
And the name of the changed folders ok?
e.g. phpwcms_filestorage -> filearchive
Or did you renamed the folder names in your config e.g. $phpwcms['file_path'] = 'phpwcms_filestorage';
Site/DB -charset the same in 1.2.8 / 1.3.3 ?
Knut
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 12:04
by perdy
Strange... I've just observed samme problem in 1.3.5
Only thing is that 14 days ago there was no problem.
And the only difference is that the new "problem"-images are bigger (around 1.4 Mb).
- can that be an issue..?
file_maxsize=2097152 in conf.inc.php
Best regards
Per
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 12:31
by flip-flop
$phpwcms['file_maxsize'] = 52428800; //Bytes (50 x 1024 x 1024)
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 14:24
by perdy
Thank you, Knut.
I tried to raise the "file_maxsize", but it didn't worked.
Then I thought it had something to do with permissions. But, no...
Finally, I realized that the filesize are in pixels, not i MB, and my "problem"-image was 2816x2112 - indeed more than 1024x1024.
When I downsize the image the problem is gone
So I guess it's also peteburgess problem...
Knut, can you explain what the "50" stands for in the (50 x 1024 x 1024).
And thank you again for your answer.
Best Regards - Per
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 15:00
by flip-flop
I think that isn t an upload problem by the cms.
Code: Select all
http://forums.afterdawn.com/thread_view.cfm/608068
If it is, you haven´t enough - memory or max_execution_time for scripting.
A compressed file like *.jpg has often in uncompressed mode a multiple range. Using this real size file the GD-lib is rendering a new picture. -> memory_limit / max_execution_time
Please have a look to your phpinfo() -> upload_max_filesize
Knut
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 16:23
by peteburgess
wow. ask and you shall receive. thanks for all the comments. i will try these suggestions and get back to you. thanks again.
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Wed 30. Jan 2008, 23:24
by perdy
flip-flop wrote:I think that isn t an upload problem by the cms.
Code: Select all
http://forums.afterdawn.com/thread_view.cfm/608068
If it is, you haven´t enough - memory or max_execution_time for scripting.
A compressed file like *.jpg has often in uncompressed mode a multiple range. Using this real size file the GD-lib is rendering a new picture. -> memory_limit / max_execution_time
Please have a look to your phpinfo() -> upload_max_filesize
Knut
Thank you, Knut. It makes sense.
I uploaded my "problem"-image (2816x2112) to an other web-hotel with phpwcms 1.3.5, and here there was
no problem at all.
In phpinfo it said:
upload_max_filesize = 16M
memory_limit = 128M
The other web-hotel, with the problems phpinfo said:
upload_max_filesize = 2M
memory_limit = 8M
So I guess it wasn't the file size, but rather the poor server-setting that caused the missing rendering.
- Per
Re: Images Missing after upgrade 1.2.8 -> 1.3.3
Posted: Tue 8. Jun 2010, 16:50
by SbITbIDOBR
I had the same problem when I moved my site to a new server. The new server had no ImageMagick. The problem resolved by editing the configuration file conf.inc.php, namely the parameter $ phpwcms ['imagick']. After replacing the value on "GD" it began work. Another solution is to install ImageMagick.
PS Check the image convertor values in configuration file.