| Author |
Message |
wusspryde
Beginner


Joined: Aug 06, 2003 Posts: 18
|
Posted: Sat Aug 09, 2003 4:20 pm Post subject: Weird error |
|
|
Hi,
For the new Albums block, vertical style, when i place it on the left column of the site, my posts lose their ID number on the main page. I can view the comments nor can i view any "read more..." Also, on my admin page, when i view the 20 recent articles, there is no ID number:
# Title All phpnuke (Edit-Delete)
normally there would be a story ID where the # sign is.
And on the main page, sometimes i see these links for "comments?"
http://host86.ipowerweb.com/~ofsenet/mo ... b2ffb6e97f
- or -
http://host86.ipowerweb.com/~ofsenet/mo ... ticle&sid=
And then, when i move the albums block to the right, the ID numbers appear in the admin page, and i can view comments, etc.
Any ideas?
http://host86.ipowerweb.com/~ofsenet/ |
|
| Back to top |
|
|
AdBot
|
| Post subject: Weird error |
|
|
|
|
|
| Back to top |
|
 |
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Sat Aug 09, 2003 4:47 pm Post subject: Re: Weird error |
|
|
Losing your SID can be fixed by finding this code in your admin.php
Code: › $sid = $row[sid];
and replace with
Code: › $sid = "$row[sid]"; |
|
| Back to top |
|
|
wusspryde
Beginner


Joined: Aug 06, 2003 Posts: 18
|
Posted: Sat Aug 09, 2003 5:01 pm Post subject: |
|
|
| which index and admin files? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
|
| Back to top |
|
|
wusspryde
Beginner


Joined: Aug 06, 2003 Posts: 18
|
Posted: Sun Aug 10, 2003 2:13 am Post subject: Re: Weird error |
|
|
i have phpnuke 6.8.
after i edited admin.php, i still had that error =/ |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Sun Aug 10, 2003 4:23 am Post subject: |
|
|
Sry - you will need to to both admin.php and /modules/News/index.php:
modules/News/index.php:
$s_sid = $row[sid];
to
$s_sid = "$row[sid]";
admin.php:
$sid = $row[sid];
to
$sid = "$row[sid]"; |
|
| Back to top |
|
|
wusspryde
Beginner


Joined: Aug 06, 2003 Posts: 18
|
Posted: Sun Aug 10, 2003 3:31 pm Post subject: Re: Weird error |
|
|
| thanks! works wonderful! |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Sun Aug 10, 2003 3:39 pm Post subject: |
|
|
Good - glad to help!  |
|
| Back to top |
|
|
darkknight
Guru


Joined: Aug 21, 2003 Posts: 54
|
Posted: Mon Aug 25, 2003 2:45 pm Post subject: |
|
|
| I also had to edit my /modules/Top/index.php as it had the exact same error, and the fix is the same line as changed above |
|
| Back to top |
|
|
|
|
|
|
|