PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 11:31 am Reply with quote Back to top

Could someone please take a look at Coppermine for Nuke 1.3.1c and see if there is a simple code change to allow this to work with rn 2.3 i know its been gone over in forums but nothing else looks as good all pages you can see but when you goto upload a image it goes to a blank page maybe just maybe there might be a simple code fixs like so many other mods

Thanks in advance
Chris
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 12:24 pm Reply with quote Back to top

Have you got error and database logging turned on?
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:05 pm Reply with quote Back to top

This is the error that io get after hitting submit

Code:
Fatal error: Call to undefined function gd_info() in /home/xxxxxx/public_html/modules/coppermine/db_input.php on line 38
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:12 pm Reply with quote Back to top

Does that file have any references to $dbi?
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:17 pm Reply with quote Back to top

I searched $dbi and nothing was found
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:19 pm Reply with quote Back to top

gd_info() < wondering if this has something
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:22 pm Reply with quote Back to top

could you post up the code from lines 30 to 50 may give us more of an idea Smile

I cant see gd_info() beign an issue as it only gets information about the version and capabilities of the installed gd libraryy.
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:25 pm Reply with quote Back to top

Code:
 require("modules/" . $name . "/include/load.inc");

require($CPG_M_DIR . '/include/picmgmt.inc');
//require($CPG_M_DIR . '/include/mailer.inc.php');
global $username;
function check_comment(&$str)
{
    global $CONFIG, $lang_bad_words, $queries;

    $ercp = array('/\S{' . ($CONFIG['max_com_wlength'] + 1) . ',}/i');
    if ($CONFIG['filter_bad_words']) foreach($lang_bad_words as $word) {
        $ercp[] = '/' . ($word[0] == '*' ? '': '\b') . str_replace('*', '', $word) . ($word[(strlen($word)-1)] == '*' ? '': '\b') . '/i';
    }

    if (strlen($str) > $CONFIG['max_com_size']) $str = substr($str, 0, ($CONFIG['max_com_size'] -3)) . '...';
    $str = preg_replace($ercp, '(...)', $str);
}

if (!isset($HTTP_GET_VARS['event']) && !isset($HTTP_POST_VARS['event'])) {
    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
}
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:29 pm Reply with quote Back to top

which is line 38 please?
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:31 pm Reply with quote Back to top

Code:
37: global $CONFIG, $lang_bad_words, $queries;
38:
39: $ercp = array('/\S{' . ($CONFIG['max_com_wlength'] + 1) . ',}/i');
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:36 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
if you want goto this site and sign up then we can meet in my chatroom a little easier then posting waiting posting Smile if your welling
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:44 pm Reply with quote Back to top

can you open yup modules/coppermine/admin/index.inc and paste the code within the gdVersion() function please.
View user's profile Send private message Visit poster's website MSN Messenger
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:46 pm Reply with quote Back to top

also try this

admin -> multimedia -> coppermine -> config ... change imaging type from "Image Magic" to "GD"
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:49 pm Reply with quote Back to top

trunks wrote:
can you open yup modules/coppermine/admin/index.inc and paste the code within the gdVersion() function please.


There is no index.inc only index.php
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:52 pm Reply with quote Back to top

yes sorry. also have you CHMOD'ed the correct folders? and also using the phpnuke module not the stand-alone? Sounds silly i know but thought ide ask.
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:53 pm Reply with quote Back to top

I found
Code:
<select name="$name" class="listbox">
                                <option value="im" $im_selected>Image Magick</option>
                                <option value="gd1" $gd1_selected>GD version 1.x</option>
                                <option value="gd2" $gd2_selected>GD version 2.x</option>
                                <option value="netpbm" $netpbm_selected>netpbm</option>
                        </select>


in html\modules\coppermine\config.php
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:55 pm Reply with quote Back to top

trunks wrote:
yes sorry. also have you CHMOD'ed the correct folders? and also using the phpnuke module not the stand-alone? Sounds silly i know but thought ide ask.


Yes i chmod the right folders and its module
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 3:56 pm Reply with quote Back to top

hmm what's your server spec? free host?
Have you tried setting the image type to GD?

running out of ideas as to why this isnt working, but sounds like something to do with the gd function the more i dig at it.


Last edited by trunks on Wed Mar 04, 2009 3:57 pm; edited 1 time in total
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:57 pm Reply with quote Back to top

in the index.php file there is nothing referencing GD
View user's profile Send private message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 3:58 pm Reply with quote Back to top

it's a free host but nothing is locked only limted bandwidth
View user's profile Send private message
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

PostPosted: Wed Mar 04, 2009 4:34 pm Reply with quote Back to top

Try changing Method for resizing images to GD Version 1.x

I am thinking your host has disabled gd_info maybe.
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Wed Mar 04, 2009 4:36 pm Reply with quote Back to top

yes i have to agree... ask your host what the server spec is
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Wed Mar 04, 2009 8:52 pm Reply with quote Back to top

ok I found the problem imagemagick is installed on my server just not active does anyone know how to activate it? Or activate GD

Thanks
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Thu Mar 05, 2009 6:51 pm Reply with quote Back to top

You will need to send in a support ticket with your web hosting provider. Smile
View user's profile Send private message Visit poster's website MSN Messenger
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Thu Mar 05, 2009 7:53 pm Reply with quote Back to top

already done that just waiting now

Thanks
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum