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, 02:54

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  [ 13 posts ] 
Author Message
 Post subject: Gallery won't display
PostPosted: 29. Sep 2007, 19:21 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
i changed the permissions on the xml cache and counter folders to 777 and the Gallery won't display. In firefox its all black with a hyperlink of " . $lang_login . " displayed half way down anf in IE theres a load of code displayed. This is the first few lines
Code:
If you want to upgrade from an older version of TWG please copy your changes form the old config.php to the file my_config.php."); } if (file_exists(dirname(__FILE__) . "/skins/" . $skin . ".php")) { include dirname(__FILE__) . "/skins/" . $skin . ".php"; } if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) { $lang_browser = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2); if (file_exists(dirname(__FILE__) . "/language/language_" . $lang_browser . ".php")) { $default_language = $lang_browser; } } $twg_root = $_SERVER['PHP_SELF'];


Top
 Profile  
 
 Post subject:
PostPosted: 29. Sep 2007, 19:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
check if you have uploaded all files properly.

I know this problem from my ftp program. There sometimes the files are not uploaded properly and then some code fragments are displayed.

If you are using smartftp don't upload the files with the queue and more than one thread - takes longer but for me it works fine then.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Sep 2007, 20:01 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
im using a trial vesion of ftp explorer and i upload the entire TWG folder in one go

what ftp program do you recommend


Top
 Profile  
 
 Post subject:
PostPosted: 29. Sep 2007, 20:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I still use Smart FTP. I still think it's one of the best freeware ftp programs.
I simply upload it again if I have this problem (But I don't use a lot of parallel threads).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:06 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
i used smart ftp to upload the entire folder again and i've the cache folder counter folder and xml folder permissions set at 777. is this correct or is there anything else i should be doing

im using version 1.6.3


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you still have the problem - maybe you run out of space?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:17 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
im only using 11.7 megs from a possible 500...


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what happens if you call info.php


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:48 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
This is some of the stuff that appears

Code:
PHP version >= 4.3.0      No' : 'Yes'; echo " (" . phpversion() . ")"; ?>
  - XML support    Available' : 'Unavailable';?>
  - GD lib support    Available' : 'Unavailable';?>
  - GD lib >= 2.0    No' : 'Yes'; echo " (" . gd_version() . ")"; ?>
  - imagecreatetruecolor    GDlib is not installed properly - TWG does not work!' : 'Available'; ?>
  - Memory limit    Memory limit not detected'; } else { if ($limit > 32000) { echo 'Very Good'; } else if($limit > 16000) { echo 'O.k. but don\'t use large images'; } else { echo 'Only use small images'; } echo " (" . ini_get('memory_limit') . ")"; } ?>
  - Max resolution    No limit'; } else { $xy = $limit * 1024 / 6; $x = floor( sqrt ($xy / 0.75)); $y = floor( sqrt($xy / 1.33)); if ($x > 2000) { echo "~ " . $x . " x " . $y . ""; } else if ($x > 1000) { echo "~ " . $x . " x " . $y . ""; } else { echo "~ " . $x . " x " . $y . ""; } } ?>
  - Rotate available    Available' : 'Unavailable'; }else { echo 'Test failed - Check cache dir'; } ?>
  - Text watermark    Available' : 'Unavailable (imagettftext not found)';?>
  - Remote jpg support    Available' : 'Unavailable (allow_url_fopen = off)';?>
  - File uploads    Available' : 'Unavailable';?>
     - Upload max filesize    Upload max filesize not detected'; } else { if ($limit > 2500) { echo '' . ini_get('upload_max_filesize') . ''; } else { echo '' . ini_get('upload_max_filesize') . ' - Resize images > ' . ini_get('upload_max_filesize') . ''; } } ?>
Session    Available' : 'Not available';?>
Javascript    Available


Top
 Profile  
 
 Post subject:
PostPosted: 30. Sep 2007, 18:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
are you sure that php is available?


Top
 Profile  
 
 Post subject:
PostPosted: 1. Oct 2007, 15:32 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
php is availible im not too sure which version its 4 or 5


Top
 Profile  
 
 Post subject:
PostPosted: 1. Oct 2007, 15:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
but info.php is only one single page with some status info's until this is not working nothing will work.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 1. Oct 2007, 16:30 
Offline

Joined: 8. Aug 2007, 01:15
Posts: 18
Its working now cheers.

The Gallery is great


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

All times are UTC + 1 hour [ DST ]


Who is online

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