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 28. Nov 2024, 16:50

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  [ 8 posts ] 
Author Message
PostPosted: 26. Mar 2006, 07:33 
Hey, I love TWG, but Im having some problems getting my pictures to show up. None of them will even go to the fullsize version when you click on the picture itself once youre in the gallery. First of all, its located at www.blackhatgarcia.com/bill/gallery Here's a c/p of my info.php:
Code:
PHP version >= 4.3.0          Yes (4.4.2)
  - XML support          Available
  - GD lib support          Available
  - GD lib >= 2.0.1          No (2.0)
  - Memory limit          Very Good (32M)
  - Rotate available          Unavailable
  - Text watermark          Available
  - Remote jpg support       Unavailable (allow_url_fopen = off)
  - File uploads          Available
     - Upload max filesize       2M - Resize images > 2M
Session                   Available
Javascript             Available


cache/          Writeable
xml/             Writeable
counter/          Writeable


Directive           Recommended    Actual 
Safe Mode:          OFF:          OFF   
Display Errors:       ON:          OFF   
File Uploads:          ON:          ON   
Magic Quotes GPC:       ON:          ON   
Magic Quotes Runtime:    OFF:       OFF   
Register Globals:       ON/OFF:       ON   
Output Buffering:       OFF:       OFF   
Session auto start:      OFF:       OFF 

Any ideas as to what Im doing wrong?


Top
  
 
 Post subject:
PostPosted: 26. Mar 2006, 23:17 
Offline
Site Admin
User avatar

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

Just checked your debug file /xml/_mydebug.out

readfile is disabled on your system!
TWG is now allowed to write any data to the output buffer.

To get TWG running on your system you would have to ask your web hoster to allow this function!

there is a 2nd error message:
filefunctions.inc.php, line 841: cannot yet handle MBCS in html_entity_decode()!

you can uncomment this line if you don't use special caracters like öäü

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Mar 2006, 01:04 
Alright, I emailed them and asked them to enable readfile for my account, so lets hope they do. Line 841 is:
' $name = html_entity_decode($name,ENT_NOQUOTES, "UTF-8");'
so what am I uncommenting?


Top
  
 
 Post subject:
PostPosted: 27. Mar 2006, 04:33 
Got a response back from them, but they said:
Quote:
Hi There ,

Please try the coppermine gallery , the readfile function is disabled due to majjor security issues with this function .

Regards
YourSupportGroup.com


Top
  
 
 Post subject:
PostPosted: 27. Mar 2006, 10:18 
Offline
Site Admin
User avatar

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

There was an security issue about readfile until php 4.3 - but you are running 4.4.x ...

I have this in German only:
#removed_broken_link

But I only use this function at 2 places (outside the admin).
I can check if there is an alternative for this function.

/Michael


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

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

I have mada a small fix for this:

just replace the existing file in the inc folder - thats it.
I haven't fixed this issue in the admin area! I will do this with the next small update

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Mar 2006, 14:39 
Works PERFECTLY! Thanks


Top
  
 
 Post subject:
PostPosted: 27. Mar 2006, 14:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You are welcome.
Just support TWG a little bit :)

Have fun using TWG.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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