Webmastersite.net
Register Log In

Reciprocal Link Check Error
A Reciprocal Link Check Error I can't figure out.

Comments on Reciprocal Link Check Error

eharris
Member

Usergroup: Customer
Joined: Dec 15, 2005

Total Topics: 8
Total Comments: 21
eharris
Posted Dec 24, 2005 - 10:55 AM:

I really appreciate the help as a PHP, MySQL novist.

I have been having two problems with the Reciprocal Check function. I'll start with the more serious one.

This only started very recently so I assume it may have been caused by some tweak I did, but I can't imagine what. When I attempt a Reciprocal Link Check I receive a string of error messages along the top of the screen…one for every listing in the directory that reads like this:

Warning: stristr(): Empty delimiter. in /home/eddie/public_html/directory/admin/linkchecks.php on line 286

I assumed that it meant there was no reciprocal link URL entered for the listings, but in each case a reciprocal link URL exists. I examined the links area of the My SQL database using MySQLAdmin, but found no errors.

Tried some regenerations, but to no effect. Everything looks great, but I'm obviously missing something. Any help would be greatly appreciated.

The second problem which existed prior to the above one is that the reciprocal link check was reporting that no link existed on all the sites I had entered where I know for a fact that links do exist. The existing links are along the bottom of the pages of these sites. I wonder if it may have anything to do with the fact that the reciprocal links on the pages were contained within server-side includes. Still, once the server-side includes are assembled by the server into the page I don't see why it would make any difference.

An example of one such site is http://www.paulspet.com where my reciprocal link is at the bottom of the page within the linked text "Professionally Designed by Eddie Studios". But all is in order and the site is reported as not having a reciprocal link.

Again, any help would be appreciated.

Thanks, and Merry Christmas
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 24, 2005 - 11:28 PM:

Warning: stristr(): Empty delimiter. in /home/eddie/public_html/directory/admin/linkchecks.php on line 286

This means that either the url to check for or the text of the page being checked is empty... since the former is pretty hard to lose, it must be the latter. Does a dead link check work? Sounds like it's just not able to reach the urls, which could mean that your PHP install has neither fopen url wrappers nor the curl functions. You might ask your host if they did a recent upgrade which could've removed those.

As for it not finding a url on the page, I'll try going through later running a check for that url on that page.
eharris
Member

Usergroup: Customer
Joined: Dec 15, 2005

Total Topics: 8
Total Comments: 21
eharris
Posted Dec 25, 2005 - 9:31 AM:

Merry Christmas Paul smiling face

The dead link check does work, which in this case reports no dead links in the directory.

Now, here is a strange happening: If, on the site edit page, I go to the entry area titled "Reciprocated with this URL:" and enter in my domain name such as either http://www.eddie-studios.com or just eddie-studios.com, then the reciprocal link check stops reporting an error, and also does not report a missing link?!

Of course this is strange because, in effect, the software is then checking the same URL for my site twice. It is using the URL entered into the "Reciprcal Link" entry area, and then seeing my URL because it is now entered in the "Reciprocated with this URL:" entry area, which you intended for checking a URL other than ones own site.

I will check with my host about the PHP observations you mentioned tomorrow, today being Christmas. Thanks for your help.
eharris
Member

Usergroup: Customer
Joined: Dec 15, 2005

Total Topics: 8
Total Comments: 21
eharris
Posted Dec 25, 2005 - 3:26 PM:

Paul, both of the above problems are solved. There were, as expected, my fault for not entering in all required information.

May I switch subjects in mid stream? I have a new issue.

Desiring to make the URLs more friendly I went into my "Search Engine Optimization Settings" and activated the "Use apache mod_rewrite URL rewriting?" following the instructions to the letter.

Everything went fine. The URL's are indeed friendly and "most" everything is fine. What isn't fine are that the "header" graphics are not loading any longer in the sub-categories. They load fine on the directory home page, and load fine on the category pages...but for some reason don't load in the sub-category pages. I don't know how to configure .htaccess files. Could the problem rest there?

Seems like there should probably be a simple fix. Again...thank you. I truely love the software. Seems like the demand for this type of software at this high level of quality should be outstanding.

Ed
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 27, 2005 - 11:05 AM:

The recip with should only need filling if the link differs from what you list as the site url.

What isn't fine are that the "header" graphics are not loading any longer in the sub-categories

What url are you trying to pull them from? Most likely you're using relative urls instead of absolute urls, and those images of course don't exist under the directory /site/category/, only under /site/
eharris
Member

Usergroup: Customer
Joined: Dec 15, 2005

Total Topics: 8
Total Comments: 21
eharris
Posted Dec 27, 2005 - 11:21 AM:

You are right on target. In my image tags I have been usine the following syntax:

<img src="../images/imagename.jpg> meaning, of course, the images directory off of the route directory.

At the moment I am using absolute URLs to solve the problem, ex:

<img src="http://www.eddie-studios.com/images/imagename.jpg> ...even in the rollover javascript. It's works but it's really ugly coding.

Is there a better way to point to the images directory that you know of?

Thanks much.

Ed
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 29, 2005 - 10:33 PM:

Absolute urls are the only way to do it as far as I know. If you want to save space in the template you could put {DIRURL} to represent it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.