Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Page goes blank when submitting reply
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 6, 2012 - 1:30 pm

okay, good news... thanks for the update...

Avatar
0161-Jon
Manchester, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2012 - 10:05 am

Hi Sorry I've been offline for a few days.

 

Still getting blank screen when replies are submitted.

Here is a page and I have enabled guest comments:

http://pcmi.org/forum/pcmi-gen.....new-topic/

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2012 - 7:25 pm

There is an error in Firefox that shows up when that page is loaded.

Timestamp: 10/8/2012 5:19:59 PM
 Error: TypeError: $ is not a function
 Source File: http://www.pcmi.org/js/scrollable.js?ver=3.4.1
 Line: 5

 

When trying to post I see this error.

Timestamp: 10/8/2012 5:22:23 PM
 Error: ReferenceError: waitImage is not defined
 Source File: http://pcmi.org/wp-content/plugins/simple-press/forum/resources/jscript/sp-forum.js?ver=3.4.1
 Line: 1

 


I'm not sure what scrollable is but I would take a look at that first. It is also in kind of a strange folder for a WordPress plugin.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2012 - 8:30 pm

I think this might come down to how you are loading jquery tools... its in an odd location (wp root)... so wondering how you load it??  dependent on jquery?

Avatar
0161-Jon
Manchester, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 9, 2012 - 8:48 am

Hello,

that scrollable is one of the js files I use for an image scroller, it isn't actually part of a plugin but legacy from before the site was redone in wordpress. The image scroller loads dynamic business listings from our database so it was just kept as is.

I will try the fix you just helped me with on the other thread for this script too and see if that helps..

//Include one of my custom javascript files

    wp_register_script('scrollable', 'http://www.pcmi.org/js/scrollable.js');
    if (!sp_is_forumpage()) wp_enqueue_script('scrollable');

Avatar
0161-Jon
Manchester, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 9, 2012 - 8:51 am

No that didn't help, I also tried removing that script all together and I still have the blank screen after hitting submit reply.

 

Not sure if this helps but this is the url of the blank screen after submit

 

http://pcmi.org/index.php?sp_a.....ed2d57753c

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 9, 2012 - 9:20 pm

yes, that is just an ajax request...  so it seems your site is not liking ajax... have you checked your server error log for any more info?

is your server running mod_security?

Avatar
0161-Jon
Manchester, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 10, 2012 - 7:46 am

I'll check...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 10, 2012 - 7:57 am

just let us know...

Avatar
0161-Jon
Manchester, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 10, 2012 - 8:56 am

Hello Mr Papa,

the host is running mod_security

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: robrtg
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625