Author |
Message |
HauntedWebby
Involved


Joined: May 19, 2004
Posts: 363
Location: Ogden, UT
|
Posted:
Tue Aug 17, 2004 1:43 pm |
|
Seems like everything is almost working, but not quite all the way on my site
I uploaded the Journal rewrite that's in RavenNuke7.3 Addon. And now I receive the error
Parse error: parse error, unexpected $ in /home/someplace/public_html/modules/Journal/comment.php on line 95
I can't find the thread where the module was talked about, so I don't know if this error has already been discussed. |
_________________ --Webby-- |
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Tue Aug 17, 2004 2:05 pm |
|
Strange you mean I made a mistake?
Can you send me the file mine only has 87 lines in it?
webmaster \+/ netflake.com |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
HauntedWebby

|
Posted:
Tue Aug 17, 2004 4:16 pm |
|
Ok should I PM the code line or what's an email to send the whole file? It's in Raven's 7.3 ADD ON download. I downloaded it today. |
|
|
|
 |
HauntedWebby

|
Posted:
Mon Aug 23, 2004 9:21 am |
|
Any luck?
This weekend I redid the whole site fresh ... no extra mods .. Just the 7.3 disto and still had the same problem.
So I added all my mods back
being able to commend on someone's journal isn't really important ... they can post their own entries and that is  |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Aug 23, 2004 10:58 am |
|
Did you try the file I sent you? I can't seem to recreate the problem comments work ok on my 7.4 site.
You can pm a link the site I'll take a closer look this evening. |
|
|
|
 |
HauntedWebby

|
Posted:
Mon Aug 23, 2004 1:48 pm |
|
Hmm .. I didn't receive a file.
If it's not too much trouble ... wanna send again when you have a moment
Pretty please  |
|
|
|
 |
HauntedWebby

|
Posted:
Mon Aug 23, 2004 3:37 pm |
|
IT WORKED.
So let me get this straight. Blank lines through out an error. So you shouldn't have any lines after the php closing bracket unless it's valid code?!?  |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Aug 23, 2004 5:50 pm |
|
Pretty much thats it. But it gets confusing especially when its a mix of html and php like oscommerce for instance. |
|
|
|
 |
SmackDaddy
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH
|
Posted:
Wed Oct 20, 2004 3:04 am |
|
I figured out the problem.....even though this is an older topic, the issue lies within the comment.php file provided by Chatserv's 2.6 update.
I had the same problem as HauntedWebby after a recent update and actually deciding to activate the Journal.....everything worked but the comments, I'd get the exact same error as above.
What I found is this:
1. In the comments.php in the Netflake.com download, all extra lines WITHIN the code were removed. Instead of having blank lines like the comments.php file in the upgrade had, thus that gives a file more lines hence why ours were 95 and six's was 87.
2. The following code is in Chat's 2.6 upgrade distro, but not in the Netflake.com distro of Journal:
Code:$onwhat = intval($onwhat);
|
This was located right above the "startjournal" line (which would be around line 61/62).....I commented this out, as that line is found below the "startjournal" line....
3. There is a closing bracket missing in the 2.6 distro, the one supposed to be on line 75
Just thought I would let you know........hope this helps....... |
_________________ Smack out...
http://www.pctoolbin.com
Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Nov 02, 2004 10:15 pm |
|
Smack,
I implemented the changes you suggested and yes, my parse error is now gone (yes, I had the same problem). However, I post comments and nuke says my comment was saved, but I cannot find the comment anywhere! I have even verified that they were not saved to the database. Could there be more issues with the 2.6 patches? Have you or *Six* found any? I searched here and could not find much on the Journal tool.
TIA,
montego |
|
|
|
 |
montego

|
Posted:
Tue Nov 02, 2004 10:19 pm |
|
Sorry! My bad. I placed the closing bracket one line too far! Sorry about the erroneous post.
montego |
|
|
|
 |
|