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 29. Nov 2024, 21:44

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  [ 4 posts ] 
Author Message
PostPosted: 28. Dec 2008, 20:51 
Offline

Joined: 26. Dec 2008, 23:10
Posts: 2
Hi

This looks like a great gallery program because you can have pictures on a remote directory (Just what I have on my home NAS). I installed it but this feature doesn't work or I get the following error below. I browsed around on the web and it seams that this "URL file access is disabled...." is the reason.

Is this the reason for only getting "black" pictures?, is is this that need to be turned on on my hosted server or is this something that should be turned on on the NAS?

or am I doing something else wrong?

Is there any work around for this? or is it only the hosting provider that can turn it on?

Thanks for you help
-mike-

the site #removed_broken_link


----------------------------------------------

12.26.2008 22:38:45 (en) - ERROR 2 in c_html/twg175/inc/imagefunctions.inc.php, line 168: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: URL file-access is disabled in the server configuration
12.26.2008 22:38:45 (en) - ERROR 2 in c_html/twg175/inc/imagefunctions.inc.php, line 168: getimagesize(http://79.134.114.136:80/MyWeb/photo/20 ... G_0034.JPG) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be found
12.26.2008 22:38:45 (en) - Size of image cannot be detected using 1024x768.


Top
 Profile  
 
 Post subject:
PostPosted: 28. Dec 2008, 20:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
There is no workaround:

URL file-access is disabled in the server configuration

you have to ask your hoster to change the configuration. Remote picture support needs a listing of the remote url.

- Michael


Top
 Profile  
 
 Post subject: suphp helps
PostPosted: 28. Dec 2008, 21:17 
Offline

Joined: 26. Dec 2008, 23:10
Posts: 2
I just went back to search on my hosting providers support site and they said as following.

1. Make your own php.ini and put it in your root
2. In the php.ini add following allow_url_fopen = On
3. Then in .htaccess add the following text suphp_configpath /home/username

hope this helps somebody out at least it works for me now!

Hopefully this is not a big security problem?!

-mike-


Top
 Profile  
 
 Post subject:
PostPosted: 29. Dec 2008, 00:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - because if you have a script that is bad then you already have it ;).

It's a network traffic issue. You load files from a remote server ...
Hosters want to avoid this traffic by turning this off.

- Michael


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

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