You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 57 guest(s) and 3 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Parse error in Forums Admin PHP-Nuke v6.9 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Aug 24, 2003 12:45 am Reply with quoteBack to top

To fix the Forums Administration parse error (line 25) in PHP-Nuke 6.9, edit your ../admin/modules/forums.php file and change this:

Quote:

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
$result = my$db->sql_query("select radminforum, radminsuper from ".$prefix."_authors where aid='$aid'");
list($radminforum, $radminsuper) = my$db->sql_fetchrow($result);



To:

Quote:

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
$result = $db->sql_query("select radminforum, radminsuper from ".$prefix."_authors where aid='$aid'");
list($radminforum, $radminsuper) = $db->sql_fetchrow($result);


_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
The_Barbarian
Nuke Cadet
Nuke Cadet


Joined: Oct 29, 2003
Posts: 2


PostPosted: Wed Oct 29, 2003 6:57 pm Reply with quoteBack to top

hi im still getting a lot of parse errors eg in the forum admin i get this
Parse error: parse error in /home/webhosting/clanfist/public_html/hb/forum/html/modules/Forums/admin/admin_groups.php on line 377

and in the home page i get this
Parse error: parse error in /home/webhosting/clanfist/public_html/hb/forum/html/banners.php on line 333

What could be the problem please help
Find all posts by The_BarbarianView user's profileSend private message
The_Barbarian
Nuke Cadet
Nuke Cadet


Joined: Oct 29, 2003
Posts: 2


PostPosted: Wed Oct 29, 2003 11:37 pm Reply with quoteBack to top

bump ^^
Find all posts by The_BarbarianView user's profileSend private message
blink
Nuke Soldier
Nuke Soldier


Joined: Oct 30, 2003
Posts: 11


PostPosted: Sun Nov 02, 2003 8:05 am Reply with quoteBack to top

hi,

I'm having the same problem,

Parse error: parse error, unexpected '/' in /home/nukephp/html/admin/modules/banners.php on line 18

Parse error: parse error, unexpected ')' in /home/nukephp/html/admin/modules/stories.php on line 342

cheers

blink
Find all posts by blinkView user's profileSend private message
blink
Nuke Soldier
Nuke Soldier


Joined: Oct 30, 2003
Posts: 11


PostPosted: Sun Nov 02, 2003 8:07 am Reply with quoteBack to top

this is line 18 from banners.php

if ($radminsuper==1) {
Find all posts by blinkView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.224 Seconds - 460 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::