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

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  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 1. Jun 2009, 18:39 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
I noticed Tiny Web Gallery in one of the QNAP forums and it looks to be exactly what I need (if I can get it working!). (As an aside it would be great if a QPKG were developed for this, as I'm sure there are a LOT of QNAP users who would like this package).

I've asked on the QNAP board too, as I don't know where the problem might be (or how to fix it!) although I suspect the 8M memory?


1) I get the following error when going to myip/TinyWebGallery/index.php

Fatal error: Call to undefined function checkFullscreen() in /share/MD0_DATA/Qweb/TinyWebGallery/index.php on line 92


2) when I check myip /TinyWebGallery/info.php I get:


PHP version >= 4.3.0 Yes (5.2.9)
- XML support Available
- GD lib support Available
- GD lib >= 2.0 Yes (2.0.34)
- imagecreatetruecolor Available
- Memory limit Only use small images (8M)
- Max resolution ~ NAN x NAN
- Rotate available
Warning: getimagesize(buttons/border.jpg) [function.getimagesize]: failed to open stream: Permission denied in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 208

Warning: imagecreatefromjpeg(buttons/border.jpg) [function.imagecreatefromjpeg]: failed to open stream: Permission denied in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 209

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 211
- Text watermark Available
- Remote jpg support Available
- File uploads Available
- Upload max filesize 128M
Session Available
Javascript Available
Image Magick Support Not available
ffmpeg Support Not available
ffmpeg video convert Not available


ache/ Writeable
counter/ Writeable
xml/ Writeable
An image has to be shown below. If not, images cannot be
loaded properly! Please check the debug file for more details!
Error loading image!

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 1. Jun 2009, 20:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

1. reupload the inc folder - this is a function from TWG. Seems it is not uploaded completely.

2. check if the cache, counter and xml folder has all permissions.


btw. 8 MB php memory is very, very, little.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 1. Jun 2009, 20:39 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
TinyWebGallery wrote:
Hi,

1. reupload the inc folder - this is a function from TWG. Seems it is not uploaded completely.

2. check if the cache, counter and xml folder has all permissions.


btw. 8 MB php memory is very, very, little.

- Michael


Thank you for your reply. I'll re-upload that folder. I agree 8M seems low - I will edit php.ini to increase it to 32M ... presuming there isn't some reason I shouldn't? (new to php). Ideally I'd like to have TWG provide small video cam .mov files online too. Is 32M sufficient? Too much?

Again, thank you! I hope to get this working!

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 1. Jun 2009, 20:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
videos is no problem. php memory is only needed the generated thumbnails and detail images.

- Michael


Top
 Profile  
 
 Post subject: Newbie Needs More Help !
PostPosted: 2. Jun 2009, 04:37 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
TinyWebGallery wrote:
Hi,

1. reupload the inc folder - this is a function from TWG. Seems it is not uploaded completely.

2. check if the cache, counter and xml folder has all permissions.


btw. 8 MB php memory is very, very, little.

- Michael


Thank you, Michael. I'm a newbie, so I hope you have some patience as it still isn't working. I managed to increase memory to 32M and that still says don't use large images. What memory size is typical?
- Memory limit O.k. but don't use large images (32M)
- Max resolution ~ 2276 x 1709


I re-uploaded the inc folder. It has 45 items (1 hidden) and 547.4Kb - seems to match folder in zip file? (TWG 177)

I chmod 777 the 3 folders and checked permissions. This is what I have:


[/share/Qweb/TinyWebGallery] # ls -ld cache
drwxrwxrwx 2 admin administ 4096 Jun 1 22:24 cache/
[/share/Qweb/TinyWebGallery] # ls -ld counter
drwxrwxrwx 2 admin administ 4096 May 31 19:17 counter/
[/share/Qweb/TinyWebGallery] # ls -ld xml
drwxrwxrwx 2 admin administ 4096 May 31 19:18 xml/


Other than the change to memory, same problems persist - ERROR UPLOADING IMAGE - Can you give me any more help or pointers, please?

otate available
Warning: getimagesize(buttons/border.jpg) [function.getimagesize]: failed to open stream: Permission denied in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 208

Warning: imagecreatefromjpeg(buttons/border.jpg) [function.imagecreatefromjpeg]: failed to open stream: Permission denied in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 209

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /share/MD0_DATA/Qweb/TinyWebGallery/info.php on line 211
Available
- Text watermark Available
- Remote jpg support Available
- File uploads Available
- Upload max filesize 128M
Session Available
Javascript Available
Image Magick Support Not available
ffmpeg Support Not available
ffmpeg video convert Not available

Server name bana.is-a-geek.com
User agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Directory and File Permissions:
In order for TWG to function correctly it needs to be able to access or write to certain files or directories. If you see "Unwriteable" you need to change the permissions on the file or directory to allow TWG to write to it. Please check how-to 1 on the web site for good security settings!

cache/ Writeable
counter/ Writeable
xml/ Writeable
An image has to be shown below. If not, images cannot be
loaded properly! Please check the debug file for more details!
Error loading image!


Help?! :)

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 08:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
32 is o.k. - it's just because images from e.g. a 10 megapixel camera cannot be process directly.

you still get the 1). error ?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 15:03 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
Yes, I still have the errors as before, except memory level is now yellow instead of red.

Not sure what to look at next as I've checked permissions on those folders and the inc folder?

For 10M camera what should memory be - now that I know how I can adjust it up to that level :)

Thank you for your help - very much appreciate it!

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 16:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the memory you need depends on the resolution. the info page does normally show how much is the maximum.

have you checked the logfile? counter/_mydebug.out ?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 19:18 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
There doesn't appear to be any file in the folder counter/_

Maybe that is the problem?

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 19:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
no file at all?

Then I think your permissions are still not o.k. - maybe the owner is a problem.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 20:26 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
No, nothing in the folder (at least what I can see here, unless it is hidden somehow).

I pasted in the permissions I had on those 3 folders earlier. Are there other permissions I will need to look at? I think the problem is definitely the owner - me! :) Here are the permissions I have:

[/share/Qweb/TinyWebGallery] # ls -ld cache
drwxrwxrwx 2 admin administ 4096 Jun 1 22:24 cache/
[/share/Qweb/TinyWebGallery] # ls -ld counter
drwxrwxrwx 2 admin administ 4096 May 31 19:17 counter/
[/share/Qweb/TinyWebGallery] # ls -ld xml
drwxrwxrwx 2 admin administ 4096 May 31 19:18 xml/

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 20:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you called the index.php already? Is anything shown there?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 22:05 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
When I try index.php I get:

Fatal error: Call to undefined function checkFullscreen() in /share/MD0_DATA/Qweb/TinyWebGallery/index.php on line 92

_________________
QNAP-409 NAS


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 22:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
which version do you use?

because on the latest version there is nothing there.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jun 2009, 22:41 
Offline

Joined: 1. Jun 2009, 18:29
Posts: 11
I used the latest version (at least I thought it was) in the zip file - version 177.

Actually I took at look at the index.php file and it has the following version information:

TWG version: 1.7.7.2

$Date: 2007-05-17 01:16:29 +0200 (Do, 17 Mai 2007) $
$Revision: 56 $

_________________
QNAP-409 NAS


Last edited by cdb on 2. Jun 2009, 23:12, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

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