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 25. Apr 2024, 09:46

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
PostPosted: 12. Mar 2006, 13:30 
Offline

Joined: 12. Mar 2006, 12:28
Posts: 14
I have tried to use the included example_php_include.php, which goes into the constant reload loop on my setup (actualy it is a default setup, just altered the settings for php inclusion).

After some debugging, I have found out that apparently it is the file twg_image.js that causes the reload. I have looked through the file, but my knowledge about javascript is very limited..

Anyway, I hope that the above info could be of some sort of help, as I would REALY like to have the possibility to include it into my php (I don't like the iframe things)

Regards
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2006, 15:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi have to check this - which browser are you using and which version of TWG ?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2006, 16:24 
It's the latest twg (downloaded last night), and the reload is both in IE, and FireFox

It briefly shows the frontpage of the album, but then it go into constant reloading of a blank page..

PHP is 5.1.2-1 (if that matters)

/ Thomas


Top
  
 
 Post subject:
PostPosted: 12. Mar 2006, 18:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
o.k. - the php maybe 5.1.x is different now - i have to test this


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2006, 18:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you made any changes in config.php

set $php_include to true?
the install_dir ?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2006, 18:12 
Offline
Site Admin
User avatar

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

I think I get this error too. Haven't tested the inlucde for a while.

if you set the php_include to false It works for me but produces html hat is not w3c conform but working ;).

I'll fix this..
/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2006, 19:53 
Offline

Joined: 12. Mar 2006, 12:28
Posts: 14
yes, $php_include is set true, and the $install_dir is also set.

Another thing, I have setup twg in the folder /newalbum/, and in my root i have an php file with :

include "newalbum/index.php";

If $show_public_admin_link is true, then I get the following error :


Fatal error: require() [function.require]: Failed opening required './admin/.config/.htusers.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/jule/website/newalbum/admin/.include/fun_users.php on line 47


/ Thomas


Top
 Profile  
 
 Post subject:
PostPosted: 13. Mar 2006, 10:17 
Offline
Site Admin
User avatar

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

1. found the reload problem - i'll fix that.

2. the link to the admin is a bug - will be fixed as well.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Apr 2006, 14:04 
Hi,

I got the same problem and even after setting

iframe_include=false;

.
It sometimes works in IE but never does in Firefox (Haven't tried different Browsers yet..)

Got a constant Page-Reload and due to the fact that I have an automatically rezising IFrame, it gets taller and taller...
Very unpleasent...;)

I got now the workaround to open up a new _blank window for the Gallery... But... Hmmm... It's not that nice...

That's it, in hope for the new version,

Alex


Top
  
 
 Post subject:
PostPosted: 12. Apr 2006, 14:11 
Offline
Site Admin
User avatar

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

which version of TWG are you using?
I haven't seen this problem for a while ...

you have and automatic resizing iframe? I think you mean with % ?

if you still have this problem in the current build: look for
window.onresize=rz;

in index.php and remove this line !

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Apr 2006, 16:04 
Hi,
Yes, I'm using the current build of TWG..

And no, it's an Iframe wich is modified by Javascript to match the desired height.

See also: http://www.phpwcms.de/forum/viewtopic.php?t=7863&highlight=
(It's somewhere in the middle... )

But anyway, your suggestion worked!!
Thanks a lot!

Now it's time to have a look into the CSS... I still don't manage to change the background color... But that shouldn't be such a problem.. ;) At least I hope so...

Alex


Top
  
 
 Post subject:
PostPosted: 12. Apr 2006, 16:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
If you modify the iframe with javascript I think then the two scripts interfere with each other.

Then deleting this line is the solution!

Colors in css check the color manager in the backend or the website!
I generated the stylesheet with the most important settings for you!

/Michael


Top
 Profile  
 
 Post subject: iframe reload problem
PostPosted: 29. Apr 2006, 22:09 
Offline

Joined: 5. Feb 2006, 06:42
Posts: 6
Michael,

I've got TWG version 1.4.0.4 - 06.04.2006 10:00 running on Windows XP Pro SP2 with Apache 2.0.54, PHP 4.3.1 and embedded in an iframe (wrap.php) in the CMS e107 0.72. I was getting the constant reload/redraw described in this thread. I've commented out the line in index.php you reference ->

window.onresize=rz;

and the problem has gone away. Just wanted to provide this confirmation. Hope it helps.


Max


Top
 Profile  
 
 Post subject:
PostPosted: 30. Apr 2006, 01:12 
Offline
Site Admin
User avatar

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

can you give me the site of your iframe?
I know that some people have this problem but I never can track it down.

This funktion is normally there that if you resize your window the number of thumbs are recalculated. But if this still has problems I turn it of in 1.4.1 !

Therefore the size info would be helpful.

Thanks,
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 45 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