Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Cannot Edit or Delete WPFORO posts


  #1  
Old May 8, 2017, 11:46 AM
jjacoberger
 
5 posts · Apr 2014
All of a sudden, for the past few days, I have been unable to edit or delete posts in my WPFORO forums, which had been working previously.

I turned on Wordpress debugging and get these errors in debug.log when I try to edit or delete:

[08-May-2017 16:42:29 UTC] PHP Notice: Undefined index: animate_cat_menu_bar in /home3/doylest3/public_html/wp-content/themes/atahualpa/js.php on line 79
[08-May-2017 16:42:36 UTC] PHP Notice: Undefined index: animate_cat_menu_bar in /home3/doylest3/public_html/wp-content/themes/atahualpa/js.php on line 79

I have tried deactivating other plugins but that does not correct the issue.
  #2  
Old May 8, 2017, 02:48 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What versions are you using?
what happens if you switch to the twenty seventeen theme?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; May 8, 2017 at 02:51 PM.
  #3  
Old May 8, 2017, 03:30 PM
jjacoberger
 
5 posts · Apr 2014
I'm running:
Wordpress 4.7.4
PHP 5.6
Atahualpa 3.7.23

I will try switching to twenty seventeen and see what happens when I get a chance this evening.

fyi: the url to the site is: www.doylestownphotoclub.org

Update: I tried both the twenty seventeen and twenty sixteen themes and everything worked

Last edited by jjacoberger; May 8, 2017 at 04:02 PM. Reason: Update
  #4  
Old May 8, 2017, 04:08 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Please go to ATO->Export/Import Settings export your settings and attach them to a reply (paper clip icon)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 8, 2017, 04:57 PM
jjacoberger
 
5 posts · Apr 2014
Export attached.

Something Interesting:

I downloaded atahualpa 3.7.2.4 and put it in a new theme directory. From my live site, if I do a preview and go to the forums, the edit and delete work fine. If I make that copy of the theme active, then they no longer work. Conversely, if I do a live preview of my original theme, the functions work there.

This has me stumped.
Attached Files
File Type: txt ata-wwwdoylestownphotocluborg-20170508.txt (18.7 KB, 2011 views)
  #6  
Old May 8, 2017, 07:18 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you disable ALL your plugins at the same time to see if you could then edit a post?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 8, 2017, 07:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just installed the WPFORO plugin and I have no issues and this is using your Atahualpa theme options.

But lets first resolve the missing index issue. First off backup your site.

Now that you have a backup, go to ATO->MENU 2 (Category Menu). You should see that the first selection is blank - it should be YES or NO. Why this is blank. I don't know but if you go to the bottom of the page and press the RED 'Reset Settings" button, that should fix the missing index message you were seeing.

Now you can test your editing again and see if it works.

If it doesn't then you need to go into more detail about this. You must understand, before you opened this issue, I'd never heard of this plugin.

What changed in the few days since it worked?
where you are doing the edit? front end/backend?
what are ALL the settings you have for the plugin?
do you let anyone create a user on your site?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old May 9, 2017, 08:19 AM
jjacoberger
 
5 posts · Apr 2014
Yes, I disabled every plugin except wpforo and edit and delete still didn't work.

No changes were made to the site except for some text changes to existing pages.

I noticed Edit and Delete were not working Saturday afternoon. About 11:00pm on Saturday they did work for about an hour then stopped again. This is all from the front end.

Users cannot register for the site, they are all added manually by an admin.

I have re-installed wordpress and atahualpa. Today I will do a complete fresh install of wpforo including re-building the databases to see if that makes any difference.

I do think it's curious that it all works fine in a live preview of the theme but then stops when I make the theme active.

I will post another update after the forums have been re-built.
  #9  
Old May 9, 2017, 08:54 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You might want to ask your host if they did anything (server maintenance) about that time.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old May 10, 2017, 02:38 PM
jjacoberger
 
5 posts · Apr 2014
Well, I do appreciate your help.

After the clean install, it worked, until I logged out of the site and logged back in again later.

There were no hosting changes. Gvectors, the WPFORO developers see nothing wrong now that those js errors were cleared up when I reset defaults on MENU2.

The only atahualpa related error that occasionally shows up in debug.log now is:
[10-May-2017 17:58:08 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home3/doylest3/public_html/wp-content/themes/atahualpa/functions.php on line 870

I don't know what if anything that would affect, or if there is anything I can do to resolve that.

I think it may just be time to switch to another forum and move on.

thank you very much
  #11  
Old May 10, 2017, 02:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Interesting, line 870 of function.php icontains a single '}'

The only place HTTP_USER_AGENT is used is on line 846 which leads me to think there are an extra 24 lines in your function.php.....

If you haven't added any code to function.php....

could you give me access to teh site so I can take a look? If so, send me a PM with an admin ID/PW
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old May 10, 2017, 05:02 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ok I checked your version of function.php and it is exactly the same as mine, they both have the same number of lines so I don't know why it would be reporting the error line as 870.

Another interesting thing I saw is that when you go to a forum and look, you will see a reply area at teh bottom of teh page. When you press teh 'edit' link, reply gets changed to EDIT but the text from the post does not show up and if you enter something, it just becomes a reply.

I'm going to do some testing here and I'll get back to you.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old May 10, 2017, 06:18 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Sorry, but I can not recreate your issue. Atahualpa and WPFORO work fine in my install.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help - tags on edit Posts leonn Atahualpa 3 Wordpress theme 1 Nov 17, 2011 04:39 AM
How to edit or delete the red marked Bar of the theme? hghoyer Header configuration & styling 1 Oct 6, 2010 10:44 AM
delete the subscribe to posts and comments in the header pgb Header configuration & styling 1 May 31, 2010 08:00 AM
edit link on all posts? strangelove Post-Kicker, -Byline & -Footer 6 Feb 18, 2009 04:55 PM


All times are GMT -6. The time now is 12:15 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.