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, 79 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Parse error when opening Forum post [ ]
 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
JohnnyR
Nuke Cadet
Nuke Cadet


Joined: May 18, 2003
Posts: 4


PostPosted: Sun May 18, 2003 7:26 pm Reply with quoteBack to top

I downloaded and set up PHPnuke Friday; it went pretty smooth, and I'm very pleased. After creating a test post in a Forum, I can not then access the post. When I select it, I get the following error message:

Parse error: parse error in /home/httpd/vhosts/wecansoar.org/httpdocs/modules/Forums/viewtopic.php on line 1209

I've made no changes to this code.
Thanks for the help!

PHPnuke 6.5
Apache
PHP 4.xx
hosted web site.
Find all posts by JohnnyRView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun May 18, 2003 7:29 pm Reply with quoteBack to top

PHP 4.xx is not really definitive. Please post a link to analyzer. Also please post what line 1209 is in your copy of viewtopic.php.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
JohnnyR
Nuke Cadet
Nuke Cadet


Joined: May 18, 2003
Posts: 4


PostPosted: Mon May 19, 2003 6:43 pm Reply with quoteBack to top

OK, I installed analyzer here: ---> [url]http:\\www.wecansoar.org\analyze.php[/url]


I says that the forum is 2.0.2 and out of date, so I downloaded and installed 2.1. It still says it is 2.0.2 ... ???



Thanks for the help, buy the way!

Here is the code surrounding line 1209 in viewtopic.php

Code:

      $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
      $msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
      $msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

      $yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
      $yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
   }
   else
   {
      $profile_img = '';
      $profile = '';
      $pm_img = '';
      $pm = '';
      $email_img = '';
      $email = '';
      $www_img = '';
      $www = '';
      $icq_status_img = '';
      $icq_img = '';
      $icq = '';
      $aim_img = '';
      $aim = '';
      $msn_img = '';
      $msn = '';
      $yim_img = '';
      $yim = '';
   }

[/code]
Find all posts by JohnnyRView user's profileSend private message
JohnnyR
Nuke Cadet
Nuke Cadet


Joined: May 18, 2003
Posts: 4


PostPosted: Mon May 19, 2003 6:48 pm Reply with quoteBack to top

Oh yes, line 1209 is the else in
}
else
{
Find all posts by JohnnyRView user's profileSend private message
JohnnyR
Nuke Cadet
Nuke Cadet


Joined: May 18, 2003
Posts: 4


PostPosted: Tue May 20, 2003 9:27 am Reply with quoteBack to top

Update:
I downloaded the original phpBB code, and FTPed the viewtopic.php from that release. Didn't work too well, as it generated even more errors.

When I FTPed the original phpnuke viewtopic.php back to my site, it started working properly.

Must have been something corrupted in the original transfer.
All's well now!
Find all posts by JohnnyRView 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.184 Seconds - 172 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::