Author |
Message |
LadySyren
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: Sep 03, 2004
Posts: 56
Location: Iowa
|
Posted:
Fri Dec 10, 2004 7:45 pm |
|
Ok, I've done a clean install of nuke 7.5 and the only thing I did was to add the code required for the Nuke Sentinel in the mainfile, javascript, header files.
WHen logging out, this is what I get:
Parse error: parse error, unexpected $ in /home/xxxx/public_html/xxxx/modules/Your_Account/index.php on line 1383
Now, I'm thinking that some of the other problems I had stem from this area too because I had other error messages involving that file. Can I pm the file to someone to look over and possibly help me fix it? |
_________________ | Only registered users can see links on this board! Get registered or login! | |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Dec 10, 2004 8:20 pm |
|
Can you just post lines 1380 to 1390? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
LadySyren
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 10, 2004 8:43 pm |
|
Sure. But this entire file looks like a huge mess! If I had to fix anything, I wouldn't know where to begin and I have no idea how it got this way.
Code:echo "<tr><td bgcolor='$bgcolor2'><b>Select Avatar from gallery:</b></td>"
."<td bgcolor='$bgcolor3'><b>Gallery Avatars Currently Disabled</b></td></tr>";
}
if ($board_config['allow_avatar_upload']) {
echo "<tr><td bgcolor='$bgcolor2'><b>Upload Avatar from your machine:</b></td>"
."<td bgcolor='$bgcolor3'><a href=\"forums.html?file=profile&mode=editprofile\"><b>Upload Through Forum Profile</b></a></td></tr>"
."<tr><td bgcolor='$bgcolor2'><b>Upload Avatar from a URL:</b><br><SPAN class=gensmall>Enter the URL of the location containing the Avatar image and click on the submit button below, the Avatar image will be copied to this site.</SPAN></td>"
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 10, 2004 9:01 pm |
|
Zip it up and email it to me. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
PHrEEkie
Subject Matter Expert
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 23, 2004
Posts: 358
|
Posted:
Fri Dec 10, 2004 9:37 pm |
|
While Gaylen (the Master) checks that file for you, may I inquire as to what text editor you use to add/subtract things from your php files? It may very well be that whatever you're using is adding character controls or other 'hidden' things into the php file when you re-save the edits. That would explain an awful lot of these mysterious errors...
PHrEEk |
_________________ PHP - Breaking your legacy scripts one build at a time. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
LadySyren
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 10, 2004 10:26 pm |
|
I don't use a text editor. I just access the file directly from the domain and edit it there then save it.
Zipped file sent, Raven. Thanks so much! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 10, 2004 10:36 pm |
|
line 1383 is thisCode: <input type="text" name="commentmax" value="<?php echo $userinfo[commentmax] "size=11 maxlength=11>
|
It should be thiCode: <input type="text" name="commentmax" value="<?php echo $userinfo[commentmax]?> "size=11 maxlength=11>
|
Who's been messin' ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
LadySyren
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 11, 2004 12:27 am |
|
Towards the bottom of that file, last paragraph or so, are all of those ?> <?php tags suppose to be there?
I can't figure out how any of it got changed. I don't have anything on the site that requires anything to be added or altered in that file in order to work. Strange. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 11, 2004 1:41 am |
|
Yes they are. You were just missing a closing tag. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
LadySyren
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 11, 2004 8:18 am |
|
Ahh ok.
Here's the oddest thing that I didn't think to check at all last night. Somehow, when I was transferring the files for 7.5 over, it didn't transfer all of the index file for the Your Account module. I just noticed this today when looking things over that the file uploaded to the domain was over 20,000 kb less than what the size of the original file said it was!
I re-uploaded the index file and things seem to be fine again.
Boy, do I feel stupid now.
Thank y'all so much for the help! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|