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 22. Nov 2024, 00: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  [ 4 posts ] 
Author Message
PostPosted: 7. Feb 2016, 01:46 
Offline

Joined: 7. Feb 2016, 00:33
Posts: 2
Hi, am trying to install TWG in windows 7 system;
Mozilla Firefox Browser
Apache Server 2.4
PHP version >= 4.3.0 Yes (7.0.2)
- XML support Available
- GD lib support Available
- GD lib >= 2.0 Yes (2.1.0)
- imagecreatetruecolor Available
- Memory limit Very Good (256M)
- Max resolution ~ 7281 x 5467
Directory and file permission show as writable except to the the image part;
An image has to be shown below. If not, images cannot be
loaded properly! Please check the debug file for more details! Error loading image.
I got some errors;
Fatal error: Uncaught Error: Call to undefined function ereg_replace() in C:\Apache24\htdocs\twg23\inc\parserequest.inc.php:62 Stack trace: #0 C:\Apache24\htdocs\twg23\index.php(78): include() #1 {main} thrown in C:\Apache24\htdocs\twg23\inc\parserequest.inc.php on line 62

related to ereg_replace also saw an error related to ereg()
Looks like PHP 7.x.x does not support them so I changed them to preg_replace() and preg_match.

This help fix a problem with listing files in admin/index.php?action=list(it would show the folders and an error towards the bottom of page). Now it show folders and files.

But I still can not see the image in twg/info.php and admin/info gives these erros;
02.06.2016 23:41:44 (en) - ERROR 2 in tdocs\twg23\admin\_include\fun_extra.php, line 224: preg_match(): Delimiter must not be alphanumeric or backslash
Request: /twg23/admin/index.php?action=list&sview=yes
Stack: filefunctions.inc.php:1468:output:ERROR 2 in tdocs\twg23\admin\_include\fun_extra.php, line 224: preg_match(): Delimiter must not be a:C:\Apache24\htdocs\twg23/counter/_mydebug.out
Stack: filefunctions.inc.php:1534:debug:ERROR 2 in tdocs\twg23\admin\_include\fun_extra.php, line 224: preg_match(): Delimiter must not be a
Stack: ::on_error:2:preg_match(): Delimiter must not be alphanumeric or backslash:C:\Apache24\htdocs\twg23\admin\_include\fun_extra.php:224:Array( [dir] => [item] => twg_audiolist.php [pat] => \.pas$|\.p$|\.java$|\.py$|\.sh$\.tcl$
Stack: fun_extra.php:224:preg_match:\.pas$|\.p$|\.java$|\.py$|\.sh$\.tcl$|\.tk$:twg_audiolist.php
Stack: fun_list.php:353:get_is_editable::twg_audiolist.php
Stack: fun_list.php:699:print_table::Array( [addons] => addons [admin] => admin [buttons] => buttons [cache] => cache [cou:1
Stack: index.php:251:list_dir:

Does not like "preg_match". Can TWG Ver. 2.3.4 work with PHP 7.0.2 and Apache 2.4?

Thank you for helping a beginner.


Top
 Profile  
 
PostPosted: 7. Feb 2016, 02:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - not yet.

php 7 will be supported in the next version.


Top
 Profile  
 
PostPosted: 7. Feb 2016, 03:08 
Offline

Joined: 7. Feb 2016, 00:33
Posts: 2
Thank you Much.

Any idea when the next version of TWG will come out?


Top
 Profile  
 
PostPosted: 7. Feb 2016, 21:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Not yet.


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 53 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