Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Photoalbum problem

Asked Modified Viewed 3,628 times
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
asked
Member

Hi guys..

I moved my site's to another host and so far no problems..
But when i go into the photogallery,i can see the thumbnails of the albums but not the thumbs of the photos in there.
It simply says: No thumbnail..
When i click that "no thumbnail" link all that i see is a white little square with a red cross and this error:

Warning: filesize() [function.filesize]: stat failed for images/photoalbum/imgp0493.jpg in /mounted-storage/home41a/sub006/sc31633-BZNJ/www/cleotje.pumake.be/photogallery.php on line 68

I checked my ftp and the pics sure are in those albumfolders.
0 replies

9 posts

K
Korcsii
K
Former Senior Developer (v7.02) and Hungarian Translator
  • Member, joined since
  • Contributed 132 posts on the community forums.
  • Started 8 threads in the forums
answered
Member

photogallery.php line 11:
define("SAFEMODE", @ini_get("safe_mode") ? true : false);

line 35:
define("PHOTODIR", PHOTOS.(!SAFEMODE ? "album_".$data['album_id']."/" : ""));

PHPFusion upload the photo to the images/photoalbum/ OR imaeges/photoalbum/album_[id]/ folder... it depends on the safemode is on/off

i think the old and the new host sets are differ...

so the server can't get the filename in line 68:
echo $locale['456'].parsebytesize(filesize($photo_file))."<br>\n";
Edited by Korcsii on 18-02-2007 16:16,
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
answered
Member

How can i get this to work please with the new host?
I only have these problems with the old albums,when i create a new album it seems to work.
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
answered
Member

Seems like with the new host the pictures are linking like this:

http://vw.pumake.be/images/photoalbum/p09_janvanderpoorten.jpg
instead of:
http://vw.pumake.be/images/photoalbum/album_1/p09_janvanderpoorten.jpg

Also when i create a new album the pics i've uploaded are not saved in new folders but in the main photoalbums folder.

Edit: Problem solved,after turning the safemode off in the admin panel at Servage ;)
Edited by Puma on 19-02-2007 06:25,
0 replies
— 3 months later —
P
pher-d
P
pher-d 10
www.phpfusion-tr.com
PHP Fusion TransFusion Official Turkish Translator
PHP Fusion Turkey Official Support Site Administrator
PHP Fusion Official Crew Member
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Hi guys. I faced with same problem. i creating album_9 and big images solving but then thumbnails don't show. What can be the problem:S
0 replies
P
pher-d
P
pher-d 10
www.phpfusion-tr.com
PHP Fusion TransFusion Official Turkish Translator
PHP Fusion Turkey Official Support Site Administrator
PHP Fusion Official Crew Member
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Is anybody here guys?:)
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

To possibly so???
To possibly near incorrect rights of property so CHOWN.
look album_9 -chmod 755-obligatory
create new album via PA
do not it send pictures
enter on ftp
change chmod album_10 to 755
send pictures now via PA
check chmods all pictures album_10
644 if it change
Say necessary change users' accounts: RIGHT of property: files and folders CHOWN
Correctly: owner album_10 global count WWW server no USER
changes: only server administrator-contact
Edited by wlodekp on 25-05-2007 11:54,
0 replies
P
pher-d
P
pher-d 10
www.phpfusion-tr.com
PHP Fusion TransFusion Official Turkish Translator
PHP Fusion Turkey Official Support Site Administrator
PHP Fusion Official Crew Member
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Thanks for advice but it didn't work. Any ideas?
0 replies
— 1 month later —
J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

Puma,

Thanks for the tip...

We just moved all of our files over to Servage yesterday and were having the same "function.filesize" problem with the photogallery. We were on an MS server for the last couple of years and were looking forward to a server running Apache....

Thanks to your post, we turned off "Safe Mode" and the photogallery started working again.

Always something....
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
  • Started this discussions
answered
Member

No problem Joe ;)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet