Author |
Message |
jackel
Worker
Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA
|
Posted:
Wed Mar 04, 2009 11:31 am |
|
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 |
|
|
|
|
jakec
Site Admin
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Wed Mar 04, 2009 12:24 pm |
|
Have you got error and database logging turned on? |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:05 pm |
|
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
|
|
|
|
|
|
jakec
|
Posted:
Wed Mar 04, 2009 3:12 pm |
|
Does that file have any references to $dbi? |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:17 pm |
|
I searched $dbi and nothing was found |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:19 pm |
|
gd_info() < wondering if this has something |
|
|
|
|
trunks
Worker
Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom
|
Posted:
Wed Mar 04, 2009 3:22 pm |
|
could you post up the code from lines 30 to 50 may give us more of an idea
I cant see gd_info() beign an issue as it only gets information about the version and capabilities of the installed gd libraryy. |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:25 pm |
|
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__);
}
|
|
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 3:29 pm |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:31 pm |
|
Code:37: global $CONFIG, $lang_bad_words, $queries;
38:
39: $ercp = array('/\S{' . ($CONFIG['max_com_wlength'] + 1) . ',}/i');
|
|
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:36 pm |
|
http://pathway.x10hosting.com if you want goto this site and sign up then we can meet in my chatroom a little easier then posting waiting posting if your welling |
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 3:44 pm |
|
can you open yup modules/coppermine/admin/index.inc and paste the code within the gdVersion() function please. |
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 3:46 pm |
|
also try this
admin -> multimedia -> coppermine -> config ... change imaging type from "Image Magic" to "GD" |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:49 pm |
|
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 |
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 3:52 pm |
|
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. |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:53 pm |
|
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 |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:55 pm |
|
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 |
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 3:56 pm |
|
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 |
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:57 pm |
|
in the index.php file there is nothing referencing GD |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 3:58 pm |
|
it's a free host but nothing is locked only limted bandwidth |
|
|
|
|
testy1
Involved
Joined: Apr 06, 2008
Posts: 484
|
Posted:
Wed Mar 04, 2009 4:34 pm |
|
Try changing Method for resizing images to GD Version 1.x
I am thinking your host has disabled gd_info maybe. |
|
|
|
|
trunks
|
Posted:
Wed Mar 04, 2009 4:36 pm |
|
yes i have to agree... ask your host what the server spec is |
|
|
|
|
jackel
|
Posted:
Wed Mar 04, 2009 8:52 pm |
|
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 |
|
|
|
|
trunks
|
Posted:
Thu Mar 05, 2009 6:51 pm |
|
You will need to send in a support ticket with your web hosting provider. |
|
|
|
|
jackel
|
Posted:
Thu Mar 05, 2009 7:53 pm |
|
already done that just waiting now
Thanks |
|
|
|
|
|