I just upgraded one of my sites from 4.1.45 or .47 (I forget which) and somehow messed up my templates. I uploaded the previous versions and started modifying them to get them back up to date, but I'm having a problem with the links in the categories not displaying. I'm getting this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/ice_cream_shops/databases/mysql.php on line 27
Most of the page is displaying, but where the links should be it says {RECIPLINKSBODY} {REGULARLINKSBODY}. (I'm using [INSERTFILE=linkbit] to call in the links)
I tried adding &debug=1 to the URL but it didn't give me any additional information (maybe because the category URL is rewritten?)
It's not displaying any errors at the non-rewritten url though. It just looks like you don't have recip or regular link types. What link types do you have at Admin -> Settings -> Links?
As for the rewrite error, you'll need to turn on debug in system settings since there's no way to remotely debug when rewriting a necessary part of what's being checked.
The debgug just says it doesn't know that category id when trying to save session date, but gives no clue of why. I'll need FTP and admin access info to step through files to determine anything.
If it worked before some template change, the alternative is to reapply the template changes one by one and see where it happens.
One strange thing about your site: http://www.icecreamnewyork.com/ice_cream_shops/se... doesn't load. Perhaps you have a bunch of files like that one chmoded in a way that's forbidden by the server?
Comments on links not showing
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
I just upgraded one of my sites from 4.1.45 or .47 (I forget which) and somehow messed up my templates. I uploaded the previous versions and started modifying them to get them back up to date, but I'm having a problem with the links in the categories not displaying. I'm getting this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/ice_cream_shops/databases/mysql.php on line 27
Most of the page is displaying, but where the links should be it says
{RECIPLINKSBODY} {REGULARLINKSBODY}. (I'm using [INSERTFILE=linkbit]
to call in the links)
I tried adding &debug=1 to the URL but it didn't give me any additional information (maybe because the category URL is rewritten?)
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What's the id number of the category? If you tell me that I can construct a debug URL.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Found it in the submit link : http://www.icecreamnewyork.com/ice_cream_shops/in...
It's not displaying any errors at the non-rewritten url though. It just looks like you don't have recip or regular link types. What link types do you have at Admin -> Settings -> Links?
As for the rewrite error, you'll need to turn on debug in system settings since there's no way to remotely debug when rewriting a necessary part of what's being checked.
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
I have regular,recip as my link types, haven't changed that. Just turned on debug...
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The debgug just says it doesn't know that category id when trying to save session date, but gives no clue of why. I'll need FTP and admin access info to step through files to determine anything.
If it worked before some template change, the alternative is to reapply the template changes one by one and see where it happens.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
One strange thing about your site: http://www.icecreamnewyork.com/ice_cream_shops/se... doesn't load. Perhaps you have a bunch of files like that one chmoded in a way that's forbidden by the server?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Note for readers: this was just out of date PHP files, probably from manual update attempts.