Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Parse Error
Parse Error
Goto page 1, 2  Next

18 Replies / 1656 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Ravens Nuke

View previous topic :: View next topic


Please report all major problems to Ravens Site.


Spartan51
Reputation: 481.6 Add RepSubtract Rep
Local time: 12:12 PM

usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Aug 28, 2007
Last Visit: 05 Jul 2009
Posts: 10
Points: 7248 

Post Parse Error Posted: Fri Jun 19, 2009 3:14 am

Shop Purchases:
ARMA 2 Theme · Clan Roster 2.0

I recently installed raven nuke after switching from phpnuke and I am getting this error on my public_html/index.php file. What's weird is that the install is fine, the site will run all day long, and when I come home from work the error appears. I reinstalled the whole site today, MySQL database and all after I gave up trying to fix it.... come home tonight and it did it again. Also, if it helps, I can still access other parts of the site manually, and they all appear fine.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/xxx/public_html/index.php on line 123

snipet of the code:

Code:
href="'.$admin_file.'.php?op=modules">'._ADDAHOME.'</a> ]</center>';
        } else {
            echo '<center>'._HOMEPROBLEMUSER.'</center>';
        }
        CloseTable();
        include_once('footer.php');
    }
}


Any help would be appreciated.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 12:12 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Parse Error Posted: Fri Jun 19, 2009 3:28 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

The problem is that the module you have loaded as the home module is not loading correctly. To fix this, log into your admin and assign a new module for the home module.

Start here ->>http://www.yoursite.com/admin.php?op=modules

Also re-upload whatever module is assigned as the home module before you made the change. Sorry I know it is a lot to take in.

However, I glanced at the code your referring too and I don't see a problem.

Code:
    } else {
        define('INDEX_FILE', true);
        include_once('header.php');
        OpenTable();
        if (is_admin($admin)) {
            echo '<center><b>'._HOMEPROBLEM.'</b><br /><br />[ <a href="'.$admin_file.'.php?op=modules">'._ADDAHOME.'</a> ]</center>';
        } else {
            echo '<center>'._HOMEPROBLEMUSER.'</center>';
        }
        CloseTable();
        include_once('footer.php');
    }
}
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

Spartan51
Reputation: 481.6 Add RepSubtract Rep
Local time: 12:12 PM

usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Aug 28, 2007
Last Visit: 05 Jul 2009
Posts: 10
Points: 7248 

Post Parse Error Posted: Fri Jun 19, 2009 3:42 am

Shop Purchases:
ARMA 2 Theme · Clan Roster 2.0

Well, the default home module is set as News, haven't changed that yet. I switched it over to several different modules and I am still getting the error, I might not of posted the right section of the index file...

Yup, didn't upload the right portion...

Code:
user
        if ($canView) {
            include_once($modpath);
        } else {
            define('INDEX_FILE', true);
            include_once('header.php');
            include_once('footer.php');
        }
        /*
         * montego - end add
         */
    } else {
        define('INDEX_FILE', true);
        [b]include_once('header.php');[/b]
        OpenTable();
        if (is_admin($admin)) {
            echo '<center><b>'._HOMEPROBLEM.'</b><br /><br />[ <a href="'.$admin_file.'.php?op=modules">'._ADDAHOME.'</a> ]</center>';
        } else {
            echo '<center>'._HOMEPROBLEMUSER.'</center>';
        }
        CloseTable();
        include_once('footer.php');
    }
}

?>


include_once('header.php'); appears to be the problem line.

EDIT: If it helps, I am only able to access the admin section, I can't access any other modules, it just gives a white screen
 

 
View user's profileSend private messageVisit poster's website Reply with quote


floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 12:12 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Parse Error Posted: Fri Jun 19, 2009 4:40 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Is this the latest version of raven nuke? I searched his site for a related problem and came up empty.

Maybe I could poke around your ftp and try a few things? Honestly, I don't know the answer off the top of my head. I never encountered this for.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 6:12 PM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 09 Feb 2012
Posts: 979
Points: 61106 

Post Parse Error Posted: Fri Jun 19, 2009 4:46 am

strange one index.php only has 123 lines.
 

Tactical Combat Evolved - Sig Showcase  
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 12:12 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Parse Error Posted: Fri Jun 19, 2009 4:47 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Noto wrote:
strange one index.php only has 123 lines.


I had this exact same thought.
 

 
View user's profileSend private messageVisit poster's website Reply with quote


Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 6:12 PM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 09 Feb 2012
Posts: 979
Points: 61106 

Post Parse Error Posted: Fri Jun 19, 2009 4:49 am

Code:
        [b]include_once('header.php');[/b]


no idea why u have bold tags but thats your problem.

should be
Code:
        include_once('header.php');
 

 
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 12:12 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Parse Error Posted: Fri Jun 19, 2009 4:52 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

OMG, I had this same thought also. ROFL!! I just assumed if he has this problem, he has others. Which led to request for ftp.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 6:12 PM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 09 Feb 2012
Posts: 979
Points: 61106 

Post Parse Error Posted: Fri Jun 19, 2009 4:56 am

ROFL, you've not just checked your emails to see if your got a key for the Cities XL beta have you?

I missed out again, dam i want to try it out so bad i love city builders and this one looks so good. been keeping an eye on in for about a year now and missed the 1st & 2nd beta my luck sucks.

heres a few vid of it blowing simcity away.
http://www.gametrailers.com/game/cities-xl/6898
home page *down at the mo)
http://www.citiesxl.com
 

 
View user's profileSend private messageVisit poster's website Reply with quote


Spartan51
Reputation: 481.6 Add RepSubtract Rep
Local time: 12:12 PM

usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Aug 28, 2007
Last Visit: 05 Jul 2009
Posts: 10
Points: 7248 

Post Parse Error Posted: Fri Jun 19, 2009 5:35 am

Shop Purchases:
ARMA 2 Theme · Clan Roster 2.0

The bold tags were there so it would be easier to distinguish, it's not actually in the code, Floppy, I'll PM the FTP info to you.

On a side note, the index.php file has not been modified, let alone opened by me until the problems started to occur.

Last edited by Spartan51 on Fri Jun 19, 2009 5:40 am; edited 1 time in total
 

 
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 12:12 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Parse Error Posted: Fri Jun 19, 2009 5:40 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Spartan51 wrote:
The bold tags were there so it would be easier to distinguish, it's not actually in the code, Floppy, I'll PM the FTP info to you.


I will have a look at it tomorrow while I am at work. We will find a solution somehow.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Spartan51
Reputation: 481.6 Add RepSubtract Rep
Local time: 12:12 PM

usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Aug 28, 2007
Last Visit: 05 Jul 2009
Posts: 10
Points: 7248 

Post Re: Parse Error Posted: Fri Jun 19, 2009 5:41 am

Shop Purchases:
ARMA 2 Theme · Clan Roster 2.0

floppy wrote:

I will have a look at it tomorrow while I am at work. We will find a solution somehow.


Alright, thanks for all your help.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Ravens Nuke


 
18 Replies / 1656 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
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