[Solved] Series' Ne...
 
Notifications
Clear all

[Solved] Series' Next/Page 2 goes to the wrong page

9 Posts
4 Users
0 Reactions
1,745 Views
(@cloudyvisions)
Posts: 78
Trusted Member
Topic starter
 

I'm having an issue with the series I have that are more than just one page. As far as I know, I only have 2 series that are more than 15 stories...unfortunately, one of them is very popular, so several people have been e-mailing me asking what's going on and why the correct page isn't loading.

http://www.sinful-desire.org/archive/viewseries.php?seriesid=24 - this is the link of the series. It's 18 stories and there should be 3 on the second page.

However, when people who aren't an admin user click "Next" or "2" a page loads that says "You are not authorized to access that function"

I logged in and clicked "Next" and I get taken to the page where you "Manage Series" and change the ordering or remove a story from the series listing.

I tried searching around the forum for the same problem but couldn't find anything that addressed this specific issue. I have a test account "test, pw:test" if that helps anyone.

Thank you in advance!


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 18/06/2007 3:08 am
(@tammy)
Posts: 2577
Member Moderator
 

What version of the script are you using?


 
Posted : 18/06/2007 12:47 pm
(@cloudyvisions)
Posts: 78
Trusted Member
Topic starter
 

I'm using 3.2.1

I haven't upgraded to the latest script yet since I was wondering if I should try and fix this first.


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 21/06/2007 1:19 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

No, upgrade. Usually upgrades have bug fixes. When trying to fix something, always start with the latest version of the script.

If you "fix"' an old version of the script, and then upgrade where the problem hasn't been fixed, you'll just have to fix it again...


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 21/06/2007 1:29 am
(@cloudyvisions)
Posts: 78
Trusted Member
Topic starter
 

OK, I just upgraded to 3.3 and I'm still getting the same thing.


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 28/06/2007 1:10 am
(@tammy)
Posts: 2577
Member Moderator
 

On line 149 of viewseries.php change series.php to viewseries.php


 
Posted : 28/06/2007 9:29 am
(@cloudyvisions)
Posts: 78
Trusted Member
Topic starter
 

OK, I think that just made it worse.

I made the change and when I went to click on any series, I have this come up:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sinfulde/public_html/archive/viewseries.php on line 47

I'm going to change it back for now so the series are readable at the site.

ETA: OK, I changed it back but that same error is still coming up, so now all the series are not able to be viewed.


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 28/06/2007 11:00 am
(@chelle)
Posts: 122
Estimable Member
 

Sounds like a quote is missing, make sure line 149 looks exactly like this:

	$tpl->assign("pagelinks", build_pagelinks("viewseries.php?seriesid=$seriesid&", $scount, $offset));

 
Posted : 28/06/2007 2:51 pm
(@cloudyvisions)
Posts: 78
Trusted Member
Topic starter
 

SWEET. It's all fixed! I think I was missing a quote along with it being on the wrong line possibly. Anyway, it's working now. Thank you!


URL: http://www.sinful-desire.org/archive
Version: 3.5.2
Modules: Story End, Beta Reader, Challenges, Story Tracker
PHP:  5.2.5
MySQL: 5.0.67

 
Posted : 29/06/2007 1:40 am
Share: