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, 10:27

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  [ 6 posts ] 
Author Message
PostPosted: 19. Dec 2009, 19:50 
Offline

Joined: 19. Dec 2009, 19:16
Posts: 5
Location: Frohnleiten, Austria
I have 2 main gallery folders, each with sub-folders
I would add both galleries on one page but on different places
Since one week I'm reading back and force all the forum but can't find any answeer how to do.

I tried to include the galleries as follows:

<?php include("twg_pics/index.php?twg_album=albumname&twg_show=x");?>

but get warning message

Warning: main(twg_pics/index.php?twg_album=albumname&twg_show=x): failed to open stream: No such file or directory in C:\apache\htdocs\hpname\gallery.php on line XX

Warning: main(): Failed opening 'twg_pics/index.php?twg_album=albumname&twg_show=x' for inclusion (include_path='.;C:\apache\php\pear\') in C:\apache\htdocs\hpname\gallery.php on line XX

can you please help me to getv that done


Top
 Profile  
 
 Post subject:
PostPosted: 20. Dec 2009, 13:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you would have to use 2 iframes AND 2 installs on different servers.

Because otherwise you only have one session and the 2 galleries would use the data from the other gallery.

- Michael


Top
 Profile  
 
PostPosted: 21. Dec 2009, 18:38 
Offline

Joined: 19. Dec 2009, 19:16
Posts: 5
Location: Frohnleiten, Austria
thanks for quick answer
I will get warning message also when including only one gallery

Helmut


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 18:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what is gallery.php?


Top
 Profile  
 
 Post subject:
PostPosted: 27. Dec 2009, 18:55 
Offline

Joined: 19. Dec 2009, 19:16
Posts: 5
Location: Frohnleiten, Austria
sorry for late answering, but was busy the last days (not only due to Xmas)

I don't understand your question "what is gallery.php"

Helmut


Top
 Profile  
 
 Post subject:
PostPosted: 28. Dec 2009, 13:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Warning: main(): Failed opening 'twg_pics/index.php?twg_album=albumname&twg_show=x' for inclusion (include_path='.;C:\apache\php\pear\') in C:\apache\htdocs\hpname\gallery.php on line XX

you include twg into gallery.php - so you should know what this file is.

If you use iframes you don't have to include anything.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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