Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 14:06

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 16. Aug 2006, 15:51 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
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)


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 15:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:09 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
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)


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:29 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
(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


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:43 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
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


Last edited by novw on 16. Aug 2006, 16:47, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the index.htm are fine how they are - it's just an empty html page.

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:47 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
Version 1.5.0.1 ? from the download page ?


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:48 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yes - uploaded it 3 minutes ago ! - only replace this one file!


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2006, 16:50 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
I bow my head deeply to you sir !

Thank you !

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy