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
Edit Button Not Working
Avatar
wfraser
Guest
Guests
Feb 21, 2012 - 1:24 am

When I go as admin/mederator to edit a post, the edit button doesn't work. I've checked all my php files for correct coding- footer, page, the_content. All present. 

 

Inspecting element with Firebug (see below)shows "nofollow." Not a coder so don't know if that's important.

 

<a class="spButton spRight vtip" id="spPostIndexEdit1" title="Edit this post" rel="nofollow" href="javascript:document.usereditpost1.submit();"><img class="spIcon" src="http://tspsjapan.org/wp-content/sp-resources/forum-themes/default/images/sp_EditPost.png" alt="">
Edit</a>

 

The url shows: /post title/#p1 then #p1 disappears and nothing happens.

 

tspsjapan.org/scuttlebutt

 

Thanks for any help.

 

Warren Fraser 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 21, 2012 - 2:46 am

so- does the page actually reload and just not open the editor for that post? or does it not even reload the page?

andy-signature.png
YELLOW
SWORDFISH
Avatar
wfraser
Rookie
Free Members
sp_UserOfflineSmall Offline
Feb 21, 2012 - 4:46 am

The page reloads. No editor on screen. The "edit this post" in the Forum Toolset works fine. Initially it didn't- none of the delete, edit, move functions worked properly but are now okay.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 21, 2012 - 2:58 pm

Curious as to what was wrong with them? Can you tell me?

It's puzzling anyway as the edit from the toolbox and the edit from the inline button both call the same code.

You don't have a cache plugin active do you?

andy-signature.png
YELLOW
SWORDFISH
Avatar
wfraser
Rookie
Free Members
sp_UserOfflineSmall Offline
Feb 21, 2012 - 5:03 pm

Well, they work now. Go figure. I guess it just a lot more time than I'm accustomed to for the functions to kick in. No caching plugin yet.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 21, 2012 - 8:54 pm

cool.  thanks for the update.

Avatar
wfraser
Rookie
Free Members
sp_UserOfflineSmall Offline
Feb 21, 2012 - 9:02 pm

Well, it's back. The edit buttons don't work, the TinyMCE plugin now doesn't appear for new posts, and the Forum Toolset is non-functioning. As I mentioned in another post the the_content code is not in the index.php file, but is in the pages.php file. Could this be the source of the problem. All other needed code is in the correct php file.

When the edit button worked in the past I could execute an edit, but after that I could not do any editing and all the problems above began.

I am not caching the site at all.

The forum is at tspsjapan.org/scuttlebutt

Thanks for any help you can provide.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 22, 2012 - 5:50 am

mmmm. The good news is that at least while visiting the site as a non-registered visitor I am experiencing no errors or script failures and that, believe me, is a big plus.

It also means I can not explain the problem! Especially as it appears to swing from working/not working which is always more complicated to try and track down.

Let's start with the missing editor. Double check it is activated in the SP plugin list for me. if it is = is there any chance you could make me a temporary account and an SP Admin so I can look through the settings? If so you can PM me account details.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626