WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Script Error message
Problem with sript parsing

Version: Paid version, latest
Example URL: http://www.i-recommend.us/Computers
printPrint


Script Error message
Waldo
Beginner

Usergroup: Member
Joined: Oct 02, 2004
Total Topics: 1
Total Posts: 3
Posted 10/04/04 - 04:43 PM:
quote post
#1
Hi,

I was trying to make it so that reciprocal link was the only option on my site. However, I must have messed things up as I get the the following error message and my links look all messed up. They are showing the variable in the script (like LinkTitle instead of the linking site's actual name).

Please help!

Below is the error code

Thanks in advance
---------------------


If you are not the administrator of this site, please report this page to the administrator. If you are the administrator, please pay careful attention: You have a parse error in your template templates/default/displaylinks.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 165 of the output.
This is what the problematic area of the template looks like during parsing:
Line #160: RateReport | E-mailBookmark
Line #161: | Add to List
Line #162: | Details | Comments ({LINKNUMCOMMENTS}{LINKNUMCOMMENTS}
Line #163:
Line #164:
Line #165: Get voting code to place on your site

[Load this template in your template editor]

Note that the line of the output is not necessarily the same line number in your template... just look for a similar looking area. The source of your error is probably not on line 165 itself, but most likely a line or two before it. Check your code carefully for syntax mistakes. If you cannot recognize one, copy and paste this output into a thread on the support forum.
Now outputing the page without any conditional or php sections evaluated:
Waldo
Beginner

Usergroup: Member
Joined: Oct 02, 2004
Total Topics: 1
Total Posts: 3
Posted 10/04/04 - 05:04 PM:
quote post
#2
I actually figured out how to fix this, but I still am wondering how to make reciprocal links a requirement
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6163
Posted 10/04/04 - 07:59 PM:
quote post
#3
Use in place of the type selector, and select in your admin panel to require the reciprocal url field..

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Waldo
Beginner

Usergroup: Member
Joined: Oct 02, 2004
Total Topics: 1
Total Posts: 3
1 of 1 people found this post helpful
Posted 10/07/04 - 03:28 PM:

quote post
#4
Paul wrote:
Use in place of the type selector, and select in your admin panel to require the reciprocal url field..

Paul,

Were do I insert



In a template?

Also, what admin menu is the field select under?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6163
Posted 10/07/04 - 07:59 PM:
quote post
#5
'Suggest link' and 'edit link' where the ... currently is.

Also, what admin menu is the field select under?

"Required fields" is under settings -> functionality I think.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.