Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Weird error

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
wusspryde

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 18

PostPosted: Sat Aug 09, 2003 4:20 pm    Post subject: Weird error Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Weird error  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 09, 2003 4:47 pm    Post subject: Re: Weird error Reply with quote

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
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wusspryde

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 18

PostPosted: Sat Aug 09, 2003 5:01 pm    Post subject: Reply with quote

which index and admin files?
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 09, 2003 5:06 pm    Post subject: Reply with quote

Try http://host86.ipowerweb.com/~ofsenet/admin.php

What ver of Nuke?
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wusspryde

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 18

PostPosted: Sun Aug 10, 2003 2:13 am    Post subject: Re: Weird error Reply with quote

i have phpnuke 6.8.

after i edited admin.php, i still had that error =/
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sun Aug 10, 2003 4:23 am    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wusspryde

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 18

PostPosted: Sun Aug 10, 2003 3:31 pm    Post subject: Re: Weird error Reply with quote

thanks! works wonderful!
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sun Aug 10, 2003 3:39 pm    Post subject: Reply with quote

Good - glad to help! Very Happy
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
darkknight

Guru
Guru


Joined: Aug 21, 2003
Posts: 54

PostPosted: Mon Aug 25, 2003 2:45 pm    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia