Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

after update pictures gone
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=458
Page 1 of 1

Author:  novw [ 16. Aug 2006, 15:51 ]
Post subject:  after update pictures gone

duh:

just updated manually (delete all TWG files, and copy the new ones over):

deleted all cache/ xml/ files (loosing counts along the way).

all pictures are unviewable anymore... only tiny red crosses. one update gone wrong.

-
strange thing: the cache/ holds thumbs of pictures I have tried. They just don't show up on a webpage...

(15:51 server down, relation to update: unknown)

Author:  TinyWebGallery [ 16. Aug 2006, 15:57 ]
Post subject: 

why have you deleted the cache /xml / counter folder?
I told you not to.

anyway - if you have deleted them it's like a new install.
create these folders again - set the permissions right
seems like php can write it but it's not readable by everyone!

your pictures folder if still there I hope.

copy your my_config and the my_style back to the twg root folder.
thats it. mybe any messages in the counter/_mydebug.out?

/Michael

Author:  novw [ 16. Aug 2006, 16:09 ]
Post subject: 

I deleted those after seeing the pictures were not showing up. pictures still there.

all 3 dirs are 777-ed

debug:
Code:
08.16.2006 15:59:14 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1612: copy(counter/index.htm): failed to open stream: Permission denied

08.16.2006 15:59:14 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1629: copy(xml/index.htm): failed to open stream: Permission denied

08.16.2006 16:00:42 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1612: copy(counter/index.htm): failed to open stream: Permission denied

08.16.2006 16:00:42 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1629: copy(xml/index.htm): failed to open stream: Permission denied

08.16.2006 16:02:32 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1612: copy(counter/index.htm): failed to open stream: Permission denied

08.16.2006 16:02:32 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1629: copy(xml/index.htm): failed to open stream: Permission denied

08.16.2006 16:02:45 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1612: copy(counter/index.htm): failed to open stream: Permission denied

08.16.2006 16:02:45 - ERROR 2 in pdocs/catalog2/inc/filefunctions.inc.php, line 1629: copy(xml/index.htm): failed to open stream: Permission denied



(ftp = up, http still down)

Author:  TinyWebGallery [ 16. Aug 2006, 16:17 ]
Post subject: 

the debug is weired - you get a debug file but no permission to generated the index.htm file (it's only there to protect this folder from viewing!).

but there shouldn't be a different if I create the index.htm or the debug file.

Easiest solution. Create an empty file index.htm and put it into xml counter and cache folder!

/Michael

Author:  novw [ 16. Aug 2006, 16:29 ]
Post subject: 

(html also back online)

Code:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>



this is the index.htm in those dirs. Made empty files of them.

some thumbs are there, most are not, if I try to view thumbs by copying their location (right click, properties, copy and paste in addressbar):

Parse error: parse error, unexpected '{' in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalog2/inc/imagefunctions.inc.php on line 187

imagefunctions.inc, line 187:

if (version_compare('5.0.0', phpversion(), '<')) { // > 5

Author:  novw [ 16. Aug 2006, 16:43 ]
Post subject: 

a complete fresh install without any adjustmensts lead to the same:

http://www.kerstdorpen.nl/catalog3/

pictures are in pictures dir. Thumbs are not generated, nor shown.

I did not adapt anything. Just the persmissions.


In firefox, rightclick a non-picture and select view image:
Parse error: parse error, unexpected '{' in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalog3/inc/imagefunctions.inc.php on line 187

*-
please shoot me

Author:  TinyWebGallery [ 16. Aug 2006, 16:46 ]
Post subject: 

sorry - I was not testing my latest update with php 4.x.

I used a feature of php 5!

please redownload an replace the inc/imagefunctions.inc.php.

Then all images should be generated like before!

Sorry about that,

/Michael

Author:  TinyWebGallery [ 16. Aug 2006, 16:47 ]
Post subject: 

the index.htm are fine how they are - it's just an empty html page.

/michael

Author:  novw [ 16. Aug 2006, 16:47 ]
Post subject: 

Version 1.5.0.1 ? from the download page ?

Author:  TinyWebGallery [ 16. Aug 2006, 16:48 ]
Post subject: 

yes - uploaded it 3 minutes ago ! - only replace this one file!

Author:  novw [ 16. Aug 2006, 16:50 ]
Post subject: 

I bow my head deeply to you sir !

Thank you !

don't forget to update the version info :lol:

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/