Forums / Installing on a Linux/Unix Server / get blank after install tabbed products por , help me please

get blank after install tabbed products por , help me please

Locked

Views: 1,745

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 Sep 2009, 6:19 AM
#1
gueston avatar

gueston

Zen Follower

Join Date:
Apr 2009
Posts:
118
Plugin Contributions:
0

get blank after install tabbed products por , help me please

Hi
i get blank page after install tabbed products por ,and it display:Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /host/includes/functions/extra_functions/class.rlwp.php on line 23

already install wordpress

class.rlwp.php :
define ('ABSPATH','/****/wordpress/'); // abs-path to wp
if (file_exists(ABSPATH.'wp-config.php')) {
require_once(ABSPATH.'wp-config.php');
$wpinstall = true;
}

class rlWP {
public $wpinstall;
private $tag;

function __construct(){
$this->wpinstall = false;
if (file_exists(ABSPATH.'wp-config.php')) {
$this->wpinstall = true;
require_once(ABSPATH.'wp-config.php');
}
}

public function getWPTag($tag = 'zen-cart'){
$content = '';
$this->tag = $tag;
if($this->wpinstall == true) {
$lastposts = get_posts('tag=' . $this->tag);
if(empty($lastposts)){
$content = 'NIX gefunden';
} else {
foreach ($lastposts as $post) {
$content .= '<div style="padding:4px; border: 1px solid green;"><h3>' . $post->post_title . '</h3><p>' . $post->post_content . '</p></div>';
}
}
} else {
$content = 'WP nicht installiert/richtig konfiguriert';
}
return $content;
}
}

function getWPTag($tag = 'zen-cart'){
$wp = new rlWP();
return $wp->getWPTag($tag);
}
help me please
https://www.cbwp.us

http://www.gueston.com Gueston wholesale plaza--wholesale cheap brand apparel

2 Sep 2009, 6:43 AM
#2
jujuber avatar

jujuber

New Zenner

Join Date:
Jul 2009
Posts:
31
Plugin Contributions:
0

Re: get blank after install tabbed products por , help me please

it seems not related to tabbed products module.

2 Sep 2009, 6:52 AM
#3
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: get blank after install tabbed products por , help me please

If you would like a response from people using and skilled with TPP then post your thread here:

http://www.zen-cart.com/forum/showthread.php?t=86201&page=85

Add to your thread:

Zen cart version.
TPP version you installed.

Other mods you installed.

Example you are getting word press error.. you may have overwritten a file required by wordpress with your TPP install.

That wasn't the plan!