Host disabled PHPinfo - cant upload photos
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
jzky
Supporter


Joined: Jun 25, 2004
Posts: 220
Location: Norway - Harstad

PostPost subject: Re: Host disabled PHPinfo - cant upload photos
Posted: Tue Dec 11, 2007 8:46 pm
Reply with quote

strange reply..

Check for your self.. klick

Code:
Array
(
)

Thats the response from that script..

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

jzky's 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
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: Host disabled PHPinfo - cant upload photos
Posted: Tue Dec 11, 2007 10:14 pm
Reply with quote

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

empty page or ... ?

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

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
jzky
Supporter


Joined: Jun 25, 2004
Posts: 220
Location: Norway - Harstad

PostPost subject: Re: Host disabled PHPinfo - cant upload photos
Posted: Tue Dec 11, 2007 11:50 pm
Reply with quote

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 WinkMy home town

jzky's 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
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: Host disabled PHPinfo - cant upload photos
Posted: Wed Dec 12, 2007 9:11 am
Reply with quote

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:
<?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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
jzky
Supporter


Joined: Jun 25, 2004
Posts: 220
Location: Norway - Harstad

PostPost subject: Re: Host disabled PHPinfo - cant upload photos
Posted: Wed Dec 12, 2007 4:51 pm
Reply with quote

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 WinkMy home town

jzky's 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
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Go to page Previous  1, 2
Page 2 of 2


Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.8688 seconds with 16 DB Queries in 0.1443 seconds
Memory Usage: 2.9 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy