Webmastersite.net
Register Log In

Edit No reciprocal link notice

Comments on Edit No reciprocal link notice

Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Apr 23, 2008 - 6:29 AM:

Hi,

Somehow my recip details are wrong when the notice appears after someone selects recip link but does not add a link. How do I edit it or fix the code elsewhere so that it displays correctly (for some reason it does not show the code box in IE)

www.accommodation-uk.net/su...ction=addlink&filled=1

Thanks,

Jez.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 23, 2008 - 2:04 PM:

Please be specific. I see nothing unusual in any of the places on your page I'm looking after submitting without reciprocating, but there are multiple places you could be referencing. If you provided a screenshot that could demonstrate.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Apr 24, 2008 - 7:52 AM:

Neither am I now. After the lastest upgrade I get this error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/accommod/public_html/databases/mysql.php on line 30

I have also lost the changes that I paid you to make (the category selector) how do I return it ASAP?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 24, 2008 - 2:50 PM:

Perhaps alpha 1 didn't have the 4.2 upgrade path in it, and downgraded you to 4.1.39? What version does it say?

To update from 4.1.39 to 4.2.0 Alpha 2, open scriptinfo.php and replace

$latesturl = 'http://scripts.webmastersite.net/wsnlinks/version.txt';
$currentdownload = 'currentdownload.php';
$releasenotes = 'http://scripts.webmastersite.net/releasenotes.php';

with

$latesturl = 'http://scripts.webmastersite.net/wsnlinks/version42.txt';
$currentdownload = 'currentdownload42.php';
$releasenotes = 'http://scripts.webmastersite.net/releasenotes42.php';

Then run the autoupgrade.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Apr 25, 2008 - 1:17 AM:

It says:

Your WSN Links 4.1.39 is up to date

I'll try what you say
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Apr 25, 2008 - 1:25 AM:

My scriptinfo.php does not resemble what you say



<?php
$version = 'WSN Links 4.1.39';
$fullscripttitle = 'WSN Links';
$scriptname = 'wsnlinks';
$preftype = 'LINKS';
$pref = '{LINK';
$linkpref = $pref;
$nameforlinks = 'link';
$plurallinks = 'links';
$memberpref = '{MEMBER';
$categorypref = '{CAT';
$pluralcategories = 'categories';
$nameforcategory = 'category';
$commentpref = '{COMMENT';
$pluralcomments = 'comments';
$nameforcomment = 'comment';
$attachmentpref = '{ATTACH';
$languagepref = '{LANG_';
$traderpref = '{RATING';
$feedpref = '{XMLFEED';
$settingpref = '{';
$manualpath = 'http://scripts.webmastersite.net/wsnlinks/wsnmanual410/';
$pathtoorigtemp = 'http://www.wsnforum.com/filecomparison/wsnlinks/';
$compurl = 'http://www.wsnforum.com/filecomparison/comparison.php';
$customerdownloadsurl = 'http://scripts.webmastersite.net/wsnlinks/members/';
$simpleswitches = 'getmeta,catselector,searchincat,sortlinks,showsubs,maintoplist';
$zipfolder = $scriptname;
?>

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Apr 25, 2008 - 2:11 AM:

Paul - I didn't know there WAS a version 4.2 out! How do we get it, it is not in the members' area
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Apr 25, 2008 - 2:18 AM:

Sorry, it's only for selected users. :-) (obviously not me) ;-)
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 26, 2008 - 12:13 AM:

Turns out the the scriptinfo didn't have that until 4.1.40, released yesterday. From 4.1.40 you can follow the above instructions, or send me the info and I can do it.

babrees wrote:
Paul - I didn't know there WAS a version 4.2 out! How do we get it, it is not in the members' area


I strongly recommend you not use it right now. It's an alpha, there are several aspects of the upgrade process which aren't perfected yet. There are some switches on by default in alpha 2 which shouldn't be -- address, google maps. If you're using member system integration, alpha 2 kills all logins. I'll post a thread with instructions for alpha 3, which should be more useable.

Alpha 1 was just 4.1 with a couple of extra features that two people paid for that were too complicated to merge into 4.1 directly. Alpha 2 is more of an actual alpha with associate problems.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
#10 - Quote - Permalink
Posted Apr 26, 2008 - 2:20 AM:

Paul,

I did as per the original instruction - I got a lot of errors which I'll paste below. I also got a LOT of manual changed that need to be made. Did I get so many due to the upgrade errors or is that the normal amount?

I'll PM you the login details later just in case you need to look.


Warning: substr_count() [function.substr-count]: Empty substring. in /home/accommod/public_html/upgrade.php on line 1148

Warning: substr_count() [function.substr-count]: Empty substring. in /home/accommod/public_html/upgrade.php on line 1148
Error: The file templates/admin-old/coppa.tpl does not exist.
Error: The file templates/admin-old/detailcomments.tpl does not exist.

Warning: substr_count() [function.substr-count]: Empty substring. in /home/accommod/public_html/upgrade.php on line 1148
Error: The file templates/admin-old/details.tpl does not exist.

Warning: substr_count() [function.substr-count]: Empty substring. in /home/accommod/public_html/upgrade.php on line 1148
Error: The file templates/admin-old/displaylinks.tpl does not exist.
Error: The file templates/admin-old/edit.tpl does not exist.
Error: The file templates/admin-old/editcat.tpl does not exist.
Error: The file templates/admin-old/editcomments.tpl does not exist.
Error: The file templates/admin-old/editmembers.tpl does not exist.
Error: The file templates/admin-old/guestbook.tpl does not exist.
Error: The file templates/admin-old/home.tpl does not exist.
Error: The file templates/admin-old/javascriptheader.js does not exist.
Error: The file templates/admin-old/memberlist.tpl does not exist.
Error: The file templates/admin-old/noaccess.tpl does not exist.
Error: The file templates/admin-old/postbit.tpl does not exist.
Error: The file templates/admin-old/postreply.tpl does not exist.
Error: The file templates/admin-old/privacy.tpl does not exist.
Error: The file templates/admin-old/register.tpl does not exist.
Error: The file templates/admin-old/search.tpl does not exist.
Error: The file templates/admin-old/searchadvanced.tpl does not exist.
Error: The file templates/admin-old/searchall.tpl does not exist.
Error: The file templates/admin-old/searchcats.tpl does not exist.
Error: The file templates/admin-old/searchcomments.tpl does not exist.
Error: The file templates/admin-old/searchmembers.tpl does not exist.
Error: The file templates/admin-old/suggestcat.tpl does not exist.
Error: The file templates/admin-old/suggestlink.tpl does not exist.
Error: The file templates/admin-old/traderrespond.tpl does not exist.
Error: The file templates/admin-old/viewcomments.tpl does not exist.
Error: The file templates/admin-old/viewreports.tpl does not exist.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#11 - Quote - Permalink
Posted Apr 26, 2008 - 3:56 AM:

templates/admin-old/

Here's the problem -- you have a directory "templates/admin-old". Any subdirectory of /templates/ other than /styles/, /admin/ and /images_*/ is by definition a template set, which will be updated on upgrade. Your "admin-old" is malformed, presumably because it's some sort of old copy of admin panel files rather than an actual template set.

A bug/missing-feature in 4.1 and earlier is that only the current template set was updated and all others were left to rot, thus you won't have previously seen the errors it ought to have been giving all along.

I also got a LOT of manual changed that need to be made.

Problem: one of the alpha 2 bugs was that the changes it listed had all the variables replaced so that it was all wrong and useless. The mixup of having a partial 4.2 would cause you to get some unnecessary prompting, but it should be a maximum of this much: www.wsnforum.com/filecompar...=%2Ftemplates%2Fdefault%2F
(it'll look a little bigger because of the context being included in gray, but the red and green should be that amount)

Since the output from alpha 2 can't be trusted, I'd suggest using the above comparison link.

Alpha 3 is out now with fixes.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
#12 - Quote - Permalink
Posted Apr 26, 2008 - 7:01 AM:

Paul,

Ok, thanks for the info.

If i upgrade to Alpha 3 will I still need the comparison file to work to or will that not be applicable then? Just checking before I press the button as I don't have time to do it all now.

<Edit> I am getting google maps errors coming up too I just noticed. That's new! http://www.accommodation-uk.net/caithness/wick/ - I just switched it off but it seems like a great idea. What do i do with it?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#13 - Quote - Permalink
Posted Apr 26, 2008 - 11:03 PM:

Alpha 3 will only do changes from alpha 2 (unless you happen to have a backup of alpha 1 to start from), so yes, you still need to handle the previous stuff manually.

The changes boil down to address and map stuff, and some HTML validation fixes you may already have.

I am getting google maps errors coming up too I just noticed.

Another of the alpha 2 bugs was the google maps were on by default and that a couple of fields were of the wrong type causing an error (alpha 3 fixes them). As of alpha 3 they should work once you supply your API key -- click the help icon next to the switch for details.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.