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 19. Apr 2024, 14:08

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  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: 6. Jul 2009, 04:10 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Hi Michael,

This is what the host said:

Quote:
Hi Albert,

As we run suphp security you can set a max of permissions 755. Please check your files and folders that contain PHP code and adjust them to 744 for dirs and 644 for php files.

Please contact the component developer as they may be able to assist you. Please ask them if suphp and suhosin php security modules could effect the running of the script.

----
Regards

Michael
Web Hosts Australia Support


I've already tried 744 and 644 but still can't get it running. In fact, if I set the permissions to ending in "44", I'll get:

Quote:
TWG Flash Uploader requires at least Flash 8 and Javascript activated.
Please update your browser.

If this is not the reason most likely you have created the .htaccess file. Please go to the config page and remove this file because your server does not understand the configuration in .htaccess. If the flash still does not work please go the JFU website

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 05:25 
Offline
Site Admin
User avatar

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

ask him to take a look at the file directly. We are talking about a simple direct call of a file.
You should not have created the .htaccess file for JFU at this point.

First you should call the file without a .htaccess created by JFU. Then you have to get the call to e.g. tfu_login.php to work.


- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 09:19 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Hi Michael,

I'll ask him. But will suphp and suhosin php security modules could effect the running of the script?

Thanks,
Albert

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 09:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yes - but not this part. Calling the php files directly has nothing to do with it.

But Flash has sometimes a problem. This is why the .htaccess is sometimes needed. If this does not help then the uploader (any flash based one) cannot be used on this host without modifications of the configuration.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 09:58 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Hi Michael,

The host tech support guy added a phpinfo file to the directory and it was able to be called.

http://www.dbnsw.org.au/administrator/c ... hpinfo.php

Anything else we can try?

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 15:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
has this file the same permissions and owner as e.g. tfu_config.php?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Jul 2009, 22:42 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
It has permission 644, whereas tfu_config.php had 744. I changed the tfu_config.php to 644, no luck. Then I went to Info / Limits / Register and changed the folder to 644, still no luck...

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 10:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what about the owner?

Some servers are very restrictive here too.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 11:54 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Sure I've just asked.

By the way, for efficiency's sake: if I'm allowed to chown the files, who should I set as the owner?

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 12:26 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Hi Michael,

The host has just replied - every file in my directory is owned by my user profile.

Albert

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 12:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
just strange why they cannot be called. do all files return nothing?

even tfu_upload.php? there should be some error somewhere.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 13:25 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
I've just check all the php files in the tfu folder - all files return blank when called, except for tfu_exifReader.php and tfu_helper.php which returned "Direct Access to this location is not allowed."

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 13:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Then I think it could be a session problem. The other files don't start a session. can you check if session_start() can be called properly on your server?
you can putthis in the small file your hoster has created.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 14:03 
Offline

Joined: 29. Jun 2009, 08:48
Posts: 25
Ok, if I did

Quote:
<?php

session_start();

phpinfo() ?>


It would show me the PHP info, and if I did

Quote:
<?php

session_start()

?>


Then I'll just get a blank page.

_________________
http://www.sydneydragonblades.com
http://www.dbnsw.org.au


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jul 2009, 14:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this does not produce something :)


use

<?php

echo 'starting session...';
session_start();
echo 'session started';

?>


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

All times are UTC + 1 hour [ DST ]


Who is online

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