Go Back   Pligg Forum > Pligg Help > Installation and Upgrade Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2006, 10:06 AM
clancey clancey is offline
New Pligger
 
Join Date: Jan 2006
Posts: 18
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Missing js file?

I seem to have installed the latest Beta5 on my system OK. I was able to set up the database, login, and fiddle a bit. However, not all the ages work properly.
My error logs talk about a missing labels.js file. I can comment out the request in the html1.php file. Is this the right approach, or do I need that javascript file?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-17-2006, 12:13 PM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: SVN
Pligg Template: LemonTwist
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,585
Downloads: 65
Uploads: 6
Thanks: 101
Thanked 163 Times in 110 Posts
label.js is not used in pligg, I have no idea how it got into our code a while back. The link reffering to label.js has been removed from the header in the latest template preview release.
Reply With Quote
  #3 (permalink)  
Old 01-26-2006, 11:06 AM
williamboliver williamboliver is offline
Send a message via AIM to williamboliver Send a message via MSN to williamboliver Send a message via Yahoo to williamboliver Send a message via Skype™ to williamboliver
Casual Pligger
 
Join Date: Dec 2005
Posts: 37
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 3 Times in 2 Posts
Can you tell me what header it is in? I would like to take it out of my live code while I test the new code.
Reply With Quote
  #4 (permalink)  
Old 01-26-2006, 04:31 PM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: SVN
Pligg Template: LemonTwist
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,585
Downloads: 65
Uploads: 6
Thanks: 101
Thanked 163 Times in 110 Posts
I believe it can be found in template/all_header.tpl.
Reply With Quote
  #5 (permalink)  
Old 01-28-2006, 10:50 AM
williamboliver williamboliver is offline
Send a message via AIM to williamboliver Send a message via MSN to williamboliver Send a message via Yahoo to williamboliver Send a message via Skype™ to williamboliver
Casual Pligger
 
Join Date: Dec 2005
Posts: 37
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 3 Times in 2 Posts
thanks yank....do you know where it is in the pre-template version. I've search through all the index pages and cannot seem to track it down.
Reply With Quote
  #6 (permalink)  
Old 01-28-2006, 11:12 AM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: SVN
Pligg Template: LemonTwist
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,585
Downloads: 65
Uploads: 6
Thanks: 101
Thanked 163 Times in 110 Posts
I looked at the Beta 4 version and it's in libs/html1.php line 52:
Quote:
echo '<script src="/js/label.js" type="text/javascript"></script>' . "\n";
Just remove that line and it should be fine. I'm not sure if the line number changes in any of the other versions prior to Smarty, but you can just search for that code and find it I'm sure.
Reply With Quote
  #7 (permalink)  
Old 01-28-2006, 06:11 PM
clancey clancey is offline
New Pligger
 
Join Date: Jan 2006
Posts: 18
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
As a shortcut, if you are working on a Linux box, using grep will help you track down text in files. For instance:

grep -il "label.js" /home/mywebdirectory/libs/*.*
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks Enabled by vBSEO 3.0.0