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. Nov 2024, 11:02

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  [ 10 posts ] 
Author Message
 Post subject: updating question
PostPosted: 16. Apr 2007, 11:01 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
Hi there again !

I have read howto#23, and don't like it... I have almost 6000 (!) images in TWG, and my host will not like it when I upload all of those again. So a clean install will be not possible :?

Can it be turned around ? Delete all except the my_config.php, my_style.css, the counter, xml and your pictures folders. Install from the zip and pray ?


Last edited by novw on 26. Apr 2007, 14:16, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 16. Apr 2007, 13:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This makes no difference ;).

And you would not have to upload your images anyway ...
if I e.g. make a clean istall I simply move the files with my ftp from one folder to another - takes not time.

but you don't have to pray - this works fine ;).
simply remove the files you don't delete from the zip package..

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 14:15 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
I can not FTP from one directory to another without getting the files onto my own pc first !

*
you changed the names on some of the files ? I tried manually copying the files, but immidiately ran into this:

in the admin/ there is in 1.5 .config and .include . In the zip these are called _config and _include (downslash instead of dot). So... That should be next on your list :) making uupdating a lot easier..


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 14:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this is what the howto for updating says:

--
Copy the saved files my_config.php, my_style.css, counter and pictures back to their old place. admin/.config/.htusers.php goes to admin/_config/.htusers.php
--

If you would do it like described in the howto it would work ;)
copying 1.5 into a 1.6 installation is of course different - an should ne be done at all - this is why the howto exists.

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 14:32 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
that is why I quoted the howto...

I made a fresh install in a test dir. 700 and 744'ed the dirs as per howto#1. copied the my_config.php, my_style.sss the style files in the style-directory (!), and the directorie counter/ to my PC and into the new install.

Quote:
The directory 'cache' is not writeable. Please change the permissions to 777. Read Howto 1 for better security settings!
The directory 'counter' is not writeable. Please change the permissions to 777. Read Howto 1 for better security settings!
The directory 'xml' is not writeable. Please change the permissions to 777. Read Howto 1 for better security settings!

You first have to change the permissions before you can use TWG.



So I changed them to 777. Now (as to be expected !) the counter file can not be written to anymore:

Quote:
Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121

Warning: fopen(/var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/counter/_mydebug.out): failed to open stream: Permission denied in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1118

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1120

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/kerstdorpen.nl/httpdocs/catalogus-test/inc/filefunctions.inc.php on line 1121
Visits: Total:41620 Today:153


So... updating is not an easy task. Thank heavens I am in a fresh install and did not touch my original install...


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 14:36 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
the _mydebug seems to be the prob. When deleted it will restart itself and fill up with tons and tons of errors.

add: after 777 all files in the counter dir the persmission errors stopped. Now all I need to do is re-upload 6000 pictures...


Last edited by novw on 26. Apr 2007, 14:39, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 14:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you missed point 6 of the update,

you have to make the directore AND files in the writeable because if you copy them with ftp they have the wrong permissions ...!

+ the style in 1.6 are updated!


and then you can check _mydebug.out because TWG wants to tell you something and you don't have the debug file writeable!

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 15:29 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
TinyWebGallery wrote:
I simply move the files with my ftp from one folder to another - takes not time.


what program are you using ? I tried Smartftp, WSftp and the ftp manager inside total commander. All refuse to do this. I have to bring the files to my computer, change remote directories and then bring the files to the server. Thus 6000 times 2 pictures on the move.


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 18:42 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
after the update, the debug file is full with

Quote:
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 62: Undefined variable: type
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 62: Undefined variable: type
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: dataXmlHttp
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: browserXmlHttp
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: browserNoJS
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: precachexml
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: menuXmlHttp
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 67: Undefined variable: menuXmlAutohide
04.26.2007 18:41:42 - ERROR 8 in pen.nl/httpdocs/catalogus-test/image.php, line 69: Undefined variable: type


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2007, 19:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I'm using smartftp - but im only moving from one dir to another.

This looks like direct calls to the image.php with bnot all parameters set - like mixed files ...

I have really changed a lot from 1.5 ot 1.6 - therefore only the files I write in the howto are save to reuse ...

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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