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, 21:35

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  [ 14 posts ] 
Author Message
 Post subject: php help
PostPosted: 9. Oct 2006, 10:33 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
hi i am new to tiny web gallery and php (not a good combination i know but) and i'm am trying to incorporate the gallery into my web site with the include command. I entered the relative directory buy i get an error

Warning: main(/twg15/index.php): failed to open stream: No such file or directory in /home/zeengcom/public_html/gallery.php on line 157

Warning: main(/twg15/index.php): failed to open stream: No such file or directory in /home/zeengcom/public_html/gallery.php on line 157

Warning: main(): Failed opening '/twg15/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zeengcom/public_html/gallery.php on line 157

I have edited the config file but i have had no luck
this can be viewed at www.zeenmag.com/gallery.php

can anyone point me in the right direction please :)


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 11:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you read the howto about how to include TWG with php include?

because rotatescript.php is not something from TWG !
and gallery.php neither!

With your fixed layout an iframe is better anyway ;).
The only thing you have to do is to use the iframe fix for ie (tell TWG the heigt of your iframe)

/Michael


Top
 Profile  
 
 Post subject: :) i frame help
PostPosted: 9. Oct 2006, 14:38 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
thanks for the advice, the iframe setup fits in nicely but now i have this error

Cannot find the cache directory at "/cache" - please check your configuration. Please select a gallery. Top 13 | Search | New window | Administration | Login
The album ''

urm... i've looked at the help but i'm a little stuck..... :)


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 14:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if you use iframe make sure that:

$php_include=false;
$install_dir = "";

and that the cache folder does exists with the proper rights - check the info.php. It tells you if the install is o.k.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 14:46 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
damn, i think we're nearly there now...... i'm being told to set the permissions to 777 which i've done on the cache directory but it still
can not write to it...... any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 14:48 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what does the info say?


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 14:54 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
all i get is

The directory 'cache' 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.


i've set it to 777 but the error still comes up


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2006, 15:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
then try to delete the cache folder first (should e empty anyway).

create it again - set the permissions again - try again :)

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 10. Oct 2006, 13:02 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
i'm still getting the same error

Please select a gallery. Top 13 | Search | New window | Administration | Login
The album ''

Please close the browser to delete the session because TWG is caching the direcotry infomation there.

If you came with a direct link please check the directory name.
Please go back the the main page and navigate to the album you are looking for.

No galleries are uploaded yet Visits: Total:1 Today:1

no cache


Top
 Profile  
 
 Post subject:
PostPosted: 10. Oct 2006, 14:04 
Offline
Site Admin
User avatar

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

I don't know what you have installed - but this system is completly screwed up. nof even css files are found!

- is twg in the main directory?
and there is no iframe where is should run - try to start with a clen install is a subdirectory.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2006, 13:28 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
i have the gallery working here fine

#removed_broken_link

but i want blend it into my website, i have placed an include command into my page

#removed_broken_link

but it will not show or link to the images/video


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2006, 13:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you read the howto 2 about include?

:). Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2006, 14:32 
Offline

Joined: 9. Oct 2006, 10:27
Posts: 7
i love the software :D i'm just a few tweeks away from having it working how i would like it thanks


Top
 Profile  
 
 Post subject:
PostPosted: 13. Oct 2006, 14:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
good - have fun :).

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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