• Resolved Lizzy Gracemount

    (@lizzy-gracemount)


    I do not know what is causing this, but every time I save my post, I get an error message saying it is not found. It will redirect to: http://lizzysgrandadventure.x10.mx/wp-admin/post.php rather than showing the post. I tried using a default theme (Twenty Fifteen), deactivating all plugins, both locally and through the network (multisite setup), and I tried shortening the post. If I do a post with no images on the default theme, it shows up…I also tried it on my current theme…Posts with no images and only a few words showed up, but posts that were longer than a 500 words won’t show up. I get the 404 error message. I’m also able to post flickr albums and the like using the flicker plugin on the shorter posts. So, the question is: Is there a word count limit for posts and how do I find out what mine is set at? I looked through the files but I’m rusty on php so I’m not sure.

    Blog: http://lizzysgrandadventure.x10.mx/
    Test Post (I’ll remove this after responses):
    1. http://lizzysgrandadventure.x10.mx/test-post-2/
    2. http://lizzysgrandadventure.x10.mx/test-post-3/
    3. http://lizzysgrandadventure.x10.mx/test-post-4/

    I can do a debug thing but someone will have to walk me through it since I’ve not done that in wordpress before. Any help would be appreciated! I’ve been trying to post my newest entry for hours. Thank you in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, lizzy-gracemount, & welcome to the WordPress support forum. Firstly, please accept my sincerest thanks for providing an url–it’s really very helpful, &, given what you’ve said, I suspect you know that already. Still, it doesn’t hurt to say thanks for doing that.

    Let’s try this, if you would, please. Please open your wp-config.php file & there change wp-debug from false to true. At that point please log in & try to post a long 1–you can just write jibberish if you want–then try to save it. Please note any errors that come up & please paste those in your next response.

    This is obviously a very insecure setting, so *please* disable it once you’re done.

    There are a few other things that may prove helpful.
    1) Try looking in your site’s folder and also in your web root for a file called error_log or error.log. If there are any recent entries, please post these. You may do so by enclosing them in i.e.,

    this is entry 1.
    & this is entry 2.

    2) Look in your hosting provider’s control panel & see if they have an entry called ‘Error Logs’. Some hosts don’t, but if they do, it can be very helpful.

    3) Lastly, please let us see your .htaccess file, if you have one, both for your root folder & for your site specifically.

    I think that’s all we need for now.

    Thread Starter Lizzy Gracemount

    (@lizzy-gracemount)

    Hi, thank you for the response. I tried to do what you listed, but couldn’t find any error.log or error_log. The only file that was close was in the softaculous folder and that was empty. I also looked on cPanel for the “Error logs” function, but didn’t find anything. I guess my server falls under the “don’t” category. lol

    I had to copy/paste the preview url to see the error log for the post I was trying to see. It redirects to http://lizzysgrandadventure.x10.mx/?p=1649&preview=true for some reason and when I publish, it redirects to wp-admin link from my OP. For each test, I had enabled plugins again…The test posts posted (same wordcount, same slideshows, etc), but the RFL 2016 post refuses to post. I can’t find any error log files on my server, in either the server or the directory wordpress is in. The only file I found was in softaculous’ folder and it was empty. I also tested the slideshow in the lower word post, but there were no errors like above.

    .htaccess (root folder): Options -Indexes

    .htaccess (site directory):

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Error log for Long Test Post 2:

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 150

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 167

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 168

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 189

    Notice: String offset cast occurred in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/classes/simple_flickr_photo_api.php on line 181

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 191

    Error Log for Long Test Post:

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 150

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 167

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 168

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 189

    Notice: String offset cast occurred in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/classes/simple_flickr_photo_api.php on line 181

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 191

    Error Log for the post I’m trying to post:

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 150

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 167

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 168

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 189

    Notice: String offset cast occurred in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/classes/simple_flickr_photo_api.php on line 181

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 191

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 150

    Notice: Undefined index: user_id in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 167

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 168

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 189

    Notice: String offset cast occurred in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/classes/simple_flickr_photo_api.php on line 181

    Notice: Undefined index: photosetid in /home/lizzysgr/public_html/wp-content/plugins/mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php on line 191

    Thank you for your time.

    lizzy-gracemount, it seems pretty clear from those errors that your mobile friendly flickr slideshow plugin is the culprit here. Please try renaming that folder by appending a 1 or a .old to the folder name, & then please try posting again & see where that takes us.

    Thanks.

    Thread Starter Lizzy Gracemount

    (@lizzy-gracemount)

    I was able to save a draft of the post after I removed the code for that plugin from the post and renaming the folder. Thank you! I was ripping my hair out trying to figure it out! I’ll find another way to display the gallery from Flickr…

    Glad we could help. If you feel it is so, would you please be so kind as to mark the topic as resolved so we understand your problem has been solved, & we can go ahead & assist others who need it? Thanks.

    Thread Starter Lizzy Gracemount

    (@lizzy-gracemount)

    Sure, marking it as resolved. I hope this helps others facing the same issues…Learning how to turn on debugging was a big help. Good day! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘404 error on saving or editing posts’ is closed to new replies.