PDA

View Full Version : [fixed][3.0.8] - Viewing geekmart.php error


GoTTi
08-23-2005, 11:05 PM
i added the vendor, test, and then added product test. then went to view the geekmart.php, got this error msg:


Warning: parse_bbcode(./includes/functions_bbcode): failed to open stream: No such file or directory in /includes/gmart_class_core.php on line 241

Fatal error: parse_bbcode(): Failed opening required './includes/functions_bbcode' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/SITE/public_html/forums/includes/gmart_class_core.php on line 241

The Geek
08-23-2005, 11:13 PM
sorted. Updated package (typo).
Just re-upload files from new package.

GoTTi
08-23-2005, 11:23 PM
still getting error:

Warning: parse_bbcode(./includes/functions_bbcode.php): failed to open stream: No such file or directory in /includes/gmart_class_core.php on line 241

Fatal error: parse_bbcode(): Failed opening required './includes/functions_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/SITE/public_html/forums/includes/gmart_class_core.php on line 241

The Geek
08-23-2005, 11:34 PM
can you look at line 241 for me? It looks fine here. Im wondering if you still have the old file for some reason.

it should look like:

require_once('./includes/functions_bbcode.php');


where as the old one looked like:


require_once('./includes/functions_bbcode');


The oldone bad... BAD

GoTTi
08-23-2005, 11:40 PM
this is line 241 in geekmart.php


}elseif ($do=="purchase"){

The Geek
08-23-2005, 11:51 PM
sorry man... line 241 of gmart_class_core.php

GoTTi
08-23-2005, 11:55 PM
if (is_object($this->vb)){
require_once('./includes/class_bbcode.php');
$parser =& new vB_BbCodeParser($this->vb, fetch_tag_list());
return $parser->do_parse($text, 1, 1, 1, 1, 1, 0);
}else{
require_once('./includes/functions_bbcode.php');
return parse_bbcode($text);
}

}


yea its right. thats what mine shows.

The Geek
08-23-2005, 11:56 PM
and this is on a 3.0.8 board?

The Geek
08-23-2005, 11:57 PM
nevermind... found the problem... its functions_bbcodeparse.php... give me 5 and ill update the package.

Man... coding for 2 versions is a pain in the ass!

GoTTi
08-24-2005, 12:00 AM
lol i wish i could beta test this for 3.5 but i just dont have the activity or knowledge of that version yet to give advice n shit for it ;/

your doin a great job geek!

/me gives ya a cup of coffee and a hot pocket

The Geek
08-24-2005, 12:01 AM
thanks. I need it :)

Just uploaded a new package.

Gotta love a beta!

GoTTi
08-24-2005, 12:07 AM
ok got it. uploaded the gmart_class_core.php and page loaded fine.

saw product, clicked it.

i put 1 in the qty field, clicked add to cart and it loads me to my main forum. that be a problem?

GoTTi
08-24-2005, 12:08 AM
hmm i see GeekCart on the left, and i clicked it, and it shows me the 2 items in the cart...

should it just reload me back to the cart products page instead of the main forum?

The Geek
08-24-2005, 12:16 AM
yea... think its a template bug I found earlier today. Actually... can you phpmyadmin your gmart_script var name and chaeck that there are not leading and trainling spaces? This was my problem earlier.

GoTTi
08-24-2005, 12:18 AM
what table in the DB should i look @ to find the trailing slash or not stuff?

The Geek
08-24-2005, 12:24 AM
search in your phrase table for varname gmart_script
If there are trainling or leading spaces... delete all remenants of them then edit one of your phrases in the admincp and click save to rebuild.

GoTTi
08-24-2005, 12:37 AM
what do i do now???
i found the var in the phrase table, u see in the screenshot, i went to edit it, but theres nothing in there to edit really...

The Geek
08-24-2005, 01:00 AM
Looks fine here. Theres something else wrong.

Ill look into it in the morning.

sketch42
08-27-2005, 10:02 AM
ok got it. uploaded the gmart_class_core.php and page loaded fine.

saw product, clicked it.

i put 1 in the qty field, clicked add to cart and it loads me to my main forum. that be a problem?


dunno if this was fixed but i still have this problem

The Geek
08-27-2005, 11:18 AM
should have been fixed. Ill be updating the package at some point today - double check after that.