Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - No Pictures (or Thumbnails) Visible 
 
With a new install on a new server, no pictures or thumbnails are shown, just a red X.

I've used FAP in the past on a different server, without problems. I just installed a new phpBB2 forum on a new server and installed FAP 1.4.0a with easymod, without errors. The upload folders are correctly CHMODded. Uploading of a picture works without errors; the picture can be found in the upload and cache folder and in the database.

When looking at the album however, no thumbnail or picture is visible, just the infamous red X. A direct link to the picture or thumnail does work however, I'm not sure what that means for my problem.

GD 2.0.28 is installed on the server. I've added the domain to the hotlink-prevention, but prevention is currently set to NO, so this shouldn't matter. Clearing the cache folder doesn't help.
On the smartor forum someone mentioned that possibly the readfile() function was disabled. I've checked this with my host and this is not the case. Also, I've removed any php safety features the host installed as a precaution, but still no result. I've read in this forum about .htaccess in the upload folders, but I can't see any .htaccess there.

I've run out of things to check. Anybody have any suggestions?

album visible at Album (1 picture in the public category, 1 in the personal gallery)
Direct links to the Full picture or the Thumbnail
phpinfo: phpinfo
If you would like to test for yourself use login: tester password: tester
 



 
jkolgenSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
Wow  
Thanks for in depth info.... this is nice to see.


jkolgen wrote: [View Post]
I've read in this forum about .htaccess in the upload folders, but I can't see any .htaccess there.


That could very well be the problem for FAP 1.4.0
The .htaccess files are actually hidden files and may not be visible to you. If you are viewing the files using a FTP client, check that it allows hidden files to be seen.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
I've managed to remove the .htaccess files in the upload folder. This isn't the solution, still see the red X.
Some people on the smartor forum are also looking into my problem, hope someone finds a solution.
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
As with the upload folder you should also remove the .htaccess from it's subfolders

After that you will need to clear your browser's cache
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
Sorry I wasn't clear, I did remove the .htaccess from all the subfolders. Forgot to clear the browser cache though, thanks. Also tried from several different computers that didn't have the site in cache yet.
Still no solution however.
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
Have you asked your host already whether they have settings that could prevent the thumbs to show. I know its far-fetched...
 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
In the meantime, I've installed everything, exactly the same on a different server. There it works fine. So it's definetly some issue with my host. I just can't figure out what it is.

Most common problem would be that the readfile() function is disabled. This is not the case, I've checked this with my host and checked it myself with a php-file. So it's something else, but I don't know what.
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
I've got the php error log for my server now. The following errors occur when viewing the album:
[client 84.107.169.190] PHP Warning:  imagegif() [<a
href='function.imagegif'>function.imagegif</a>]: Unable to open
'album_mod/upload/cache/7928d347a82b2b52e325697a03053167.gif' for writing in
/var/www/vhosts/kolgen.com/subdomains/hendriks/httpdocs/phpBB2/album_mod/alb
um_image_class.php on line 130, referer:
http://hendriks.kolgen.com/phpBB2/a...l=true&pic_id=4

[client 84.107.169.190] PHP Warning:  imagejpeg() [<a
href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open
'album_mod/upload/cache/41ee11ae0ce9e2cccf991884361971d6.jpg' for writing in
/var/www/vhosts/kolgen.com/subdomains/hendriks/httpdocs/phpBB2/album_mod/alb
um_image_class.php on line 156, referer:
http://hendriks.kolgen.com/phpBB2/a...l=true&pic_id=4

So the imagegif() and imagejpeg() functions are the problem. The picture to which is referred above do exist and the folder is CHMOD 777, so that shouldn't be the problem. Anybody know what can cause this problem?
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
jkolgen wrote: [View Post]
I've got the php error log for my server now. The following errors occur when viewing the album:
[client 84.107.169.190] PHP Warning:  imagegif() [<a
href='function.imagegif'>function.imagegif</a>]: Unable to open
'album_mod/upload/cache/7928d347a82b2b52e325697a03053167.gif' for writing in
/var/www/vhosts/kolgen.com/subdomains/hendriks/httpdocs/phpBB2/album_mod/alb
um_image_class.php on line 130, referer:
http://hendriks.kolgen.com/phpBB2/a...l=true&pic_id=4

[client 84.107.169.190] PHP Warning:  imagejpeg() [<a
href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open
'album_mod/upload/cache/41ee11ae0ce9e2cccf991884361971d6.jpg' for writing in
/var/www/vhosts/kolgen.com/subdomains/hendriks/httpdocs/phpBB2/album_mod/alb
um_image_class.php on line 156, referer:
http://hendriks.kolgen.com/phpBB2/a...l=true&pic_id=4

So the imagegif() and imagejpeg() functions are the problem. The picture to which is referred above do exist and the folder is CHMOD 777, so that shouldn't be the problem. Anybody know what can cause this problem?

Sorry, but the error log points to a permission issue... because it states UNABLE TO OPEN ... FOR WRITING.

It seems like the CHMOD 777 doesn't affect that folder... do you have a public access folder? Can you try to point FAP to that folder by changing the constants.php (just for testing purpose)? What is strange is that the thumbnail is generated...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
I've redirected the upload folder in the constants.php to a different folder, also CHMOD 777. I've uploaded a new picture, same result. I've also copied the existing pictures to it, also same result. Very strange.
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
jkolgen wrote: [View Post]
I've redirected the upload folder in the constants.php to a different folder, also CHMOD 777. I've uploaded a new picture, same result. I've also copied the existing pictures to it, also same result. Very strange.

Yes... I still think it is a permission issue... CHMOD, HTACCESS, a combination of both or other kind of permissions...

I think I can't do anything else for you at the moment !
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible 
 
No worries, thanks a lot for all the help. I'll try and bother my host some more.
 



 
jkolgenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: No Pictures (or Thumbnails) Visible-having Same Problem 
 
I'm having a similar problem as is illustrated in one of my posts about not getting any images on preview when viewing the album as a guest, then when I log in, I can see the images and work with the album app, but then when I click out of the album to another part of the forum or website and go back to the album or members galleries, the app doesn't show the images or thumbnails.  It seems like a similar issue like you are having in this thread and I'd be interested if you get any solutions to the problem.  The permission issue seems like the route, and I noticed that the index file in the upload folders are not chmod 777, where the folder is.  The index shows up as a -rw-r--r-- permission.  Not sure if this is normal, but could indicate the permission issue that is hanging up the image previews.  It's wierd that it works only some of the times.  I think it might be a permission issue within the album maybe as it uses group permissions.  For the album I'm working on, guests have viewing privlages where as members have upload and album creation privlages.  Sorry about the thread hijack   , it just seems like problem you are having and I'm seeing here is a similar issue with the album preview coming up with red x's.  I'll keep an eye on this thread to see if you have any luck.  Thanks.  
 



 
pimprideSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron