Dragonfly CMS v9 ⇒ Coppermine :: Archives ⇒ Host disabled PHPinfo - cant upload photos :: Archived (page 2) ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexModules & Blocks Coppermine ⇒ Archives

Archived ⇒ Host disabled PHPinfo - cant upload photos


strange reply..

Check for your self.. klick

Array ( )

Thats the response from that script..

www.jzky.net a Dragonfly site. cms.jzky.net < test site. - Pardon my bad englsih Wink
My home town

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache / PHP Version 5.2.0 /MySQL Version 4.1.21-standard / CMS Version 9.1.1


yousite.com/admin.php?op=info&mods

empty page or ... ?

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


yes. Get this note: Warning line 26: phpinfo() has been disabled for security reasons

www.jzky.net a Dragonfly site. cms.jzky.net < test site. - Pardon my bad englsih Wink
My home town

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache / PHP Version 5.2.0 /MySQL Version 4.1.21-standard / CMS Version 9.1.1


1 - quick and hard-coded solution
2 - you have php > 5
3 - we know that gd is there

modules/coppermine/admin/index.inc at line 65 you will found gdVersion() function, replace the function with this:
<?php function gdVersion() { # start hard-coded solution return 2; # end hard-coded solution if (!extension_loaded('gd')) { return; } ob_start(); phpinfo(8); $info=ob_get_contents(); ob_end_clean(); $info=stristr($info, 'gd version'); preg_match('/\d/', $info, $gd); return $gd[0]; } // end function gdVersion()

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


Thank you verry much Very Happy

Now coppermine works perfect Very Happy (atleast I havent found any bugs yet.. )

www.jzky.net a Dragonfly site. cms.jzky.net < test site. - Pardon my bad englsih Wink
My home town

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache / PHP Version 5.2.0 /MySQL Version 4.1.21-standard / CMS Version 9.1.1

All times are UTC