Error in showthread.php : nobody can display my thread

gabhau

Member
Problem to display my first thread : https://www.pcspecialist.co.uk/forums/showthread.php?56961-Can-it-be-improved-for-this-price.

When I open the inspector I got an error on showthread.php at line 423 (there's a missing value before the ";"):
PHP:
<script type="text/javascript">
		<!--
			var threaded_mode = 0;
			var require_click = 0;
			var is_last_page = 1; // leave for people with cached JS files
			var allow_ajax_qr = 1;
			var last_post_id = ;
			var ajax_last_post = 1509374086;
		// -->
		</script>

<script type="text/javascript">

This prevents the thread to be displayed by anyone!

Edit : problem seems to be solved now...
 
Last edited:

Rakk

The Awesome
Moderator
Actually it was nothing to do with the javascript, it was just awaiting approval by a mod - it's visible again now.
When you are new to the forums your posts will over get auto-moderated which means they can't be seen until approved, however this also applies to edits of previously approved posts, so when you edited it it get put in the queue for moderation.
 

gabhau

Member
Alright, understood ;-)

Still, there's the JavaScript error that breaks potentially everything for un-approved posts.
 

Rakk

The Awesome
Moderator
Still, there's the JavaScript error that breaks potentially everything for un-approved posts.

Well, the post/thread awaiting approval works perfectly fine for mods, no-one else can see it but that's kind of the point :)
The forums are vBulletin forums anyway so I'm not sure the PCS guys play with the main JS files anyway - though I may be wrong.
 
Top