HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[Solved] Can't access some forum topics after upgrading to v9.0.9

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#99879 (In Topic #19612)
Avatar

Well-settled

There's a strange issue I experienced after upgrading to v9.0.9 - some forum topics can't be accessed (there's not any rule for this behaviour I can find). The only custom changes in the code are in /sources_custom/urls2.php (changed url moniker length). The upgrading process were performed via admin panel.

For example, accessing address http://www.feminaportal.com/forum/pg/topicview/misc/music-dance-movies-tv/tv/diana-kozakevich-ukraine-s-got-talent creates the following stack trace is created:

Code


Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
The requested resource does not exist. (version: 9.0.9, PHP version: 5.2.17, URL: /forum/pg/topicview/misc/music-dance-movies-tv/tv/diana-kozakevich-ukraine-s-got-talent/index.php?keep_fatalistic=1)
Stack trace…

File -> '/home/xxx/feminaportalcom/sources/failure.php'
Line -> 796
Function -> 'die_html_trace'
Args -> array ( 0 => 'The requested resource does not exist. (version: 9.0.9, PHP version: 5.2.17, URL: /forum/pg/topicview/misc/music-dance-movies-tv/tv/diana-kozakevich-ukraine-s-got-talent/index.php?keep_fatalistic=1)', )

File -> '/home/xxx/feminaportalcom/sources/global2.php'
Line -> 1042
Function -> '_fatal_exit'
Args -> array

File -> '/home/xxx/feminaportalcom/sources/failure.php'
Line -> 244
Function -> 'fatal_exit'
Args -> array

File -> '/home/xxx/feminaportalcom/sources/global2.php'
Line -> 1002
Function -> '_generic_exit'
Args -> array

File -> '/home/xxx/feminaportalcom/sources/ocf_topicview.php'
Line -> 235
Function -> 'warn_exit'
Args -> array

File -> '/home/xxx/feminaportalcom/forum/pages/modules/topicview.php'
Line -> 120
Function -> 'ocf_read_in_topic'
Args -> array ( 0 => 253, 1 => 0, 2 => 20, 3 => false, )

File -> '/home/xxx/feminaportalcom/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_topicview'
Type -> '->'
Object -> Module_topicview::__set_state(array( 'id' => 253, ))
Args -> array ( )

File -> '/home/xxx/feminaportalcom/sources/site.php'
Line -> 861
Function -> 'load_module_page'
Args -> array ( 0 => 'forum/pages/modules/topicview.php', 1 => 'topicview', )

File -> '/home/xxx/feminaportalcom/sources/site.php'
Line -> 646
Function -> 'request_page'
Args -> array ( 0 => 'topicview', 1 => true, )

File -> '/home/xxx/feminaportalcom/forum/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )

Details here are intended only for the website/system-administrator, not for regular website users.

FeminaPortal - Female Internet Portal (powered by ocPortal)
INFORBIRO - Information Technology Agency
BlicKlik - Internet Marketing and Advertising
Back to the top
 
Posted
Rating:
#99888
Avatar

Hi,

That error does seem to be real. It has converted the URL moniker to an ID (#253) and can't read the topic row from the database.
I suppose it is possible that a different topic ID used to use that URL moniker and it's trying to look up the wrong (now deleted) topic. Is that ID realistic looking for how many topics there would have been in your forum's history when it was created?
I'm not aware of any bugs in this area.

Where is this topic linked from?

Is the site configured with a multi-site-network?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99889
Avatar

Well-settled

Chris, you're right. There is a valid url moniker in the table, but the topic itself is missing in ocp_f_topics table. This is very strange situation because a couple of days ago (before the upgrading) these topics were available.

Nevermind, it seems that this is not linked to ocPortal at all, so you're free to close the bug and I'm going to update the topic title.

FeminaPortal - Female Internet Portal (powered by ocPortal)
INFORBIRO - Information Technology Agency
BlicKlik - Internet Marketing and Advertising
Back to the top
 
Posted
Rating:
#99890
Avatar

Ok, well your admin logs should show who/when the topics were deleted :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99891
Avatar

Well-settled

No, because it wasn't deleted via ocPortal, but rather with a SQL query (and I think I know who did it).

Coincidentally, I'm currently listening "Who let the dogs out" :)

FeminaPortal - Female Internet Portal (powered by ocPortal)
INFORBIRO - Information Technology Agency
BlicKlik - Internet Marketing and Advertising
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: