danwedin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryIt’s fixed. Thank you all for helping me!
I needed to make the ID the primary key in the posts table.
I don’t know how it got switched or what went wrong but as soon as I made it the primary key, then it allowed me to check the A_I box and the images now upload and thumbnails are previewed.
Thank you!
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryOk I found where that is and tried to check the A_I box and got this error:
—
laurent83 (@laurent83)
10 hours, 37 minutes ago
Dear Danwedin,You need to have AUTO_INCREMENT in Extra field for the first field, called ID. (This actually explains why every new image – that you upload – will have an ID=0, and then won’t be able be viewed)
With phpmyadmin, you can see this link to know what/how to do : https://stackoverflow.com/questions/5665571/auto-increment-in-phpmyadmin
Best regards
- This reply was modified 5 years, 5 months ago by danwedin.
Forum: Fixing WordPress
In reply to: Can’t upload to Media Libraryin response to:
JNashHawkins (@jnashhawkins)
2 days, 11 hours agoI followed the steps in the tutorial and ran Force Regenerate Thumbnails plugin, there were 7 failures, here is the screenshot of the finished screen:
And the problem still persists, here is the media page after I just tried uploading a new image:
Thank you for your help.
—
I directory browsed your uploads directory and found over a dozen new files from this week so the uploads themselves are working. The image files found are complete and useable.BTW: Once you get this problem fixed you’ll want to deal with allowing directory browsing but that’s not causing these issues.
So, baring something odd broken in the PHP image code, I think you should work through this tutorial and then install the recommended plugin and run it.
https://mhthemes.com/support/knb/fix-blank-thumbnails-wordpress-media-library/
I’d like for you to turn debug back on and report back any errors you see after trying to run that plugin if it doesn’t work or cure your problem.
Forum: Fixing WordPress
In reply to: Can’t upload to Media Libraryin response to:
laurent83 (@laurent83)
1 day, 8 hours agoHere is a screenshot of my db, would I change the default field for the ID column?
—
Dear Danwedin,
I had the same issue as you, and finally did found that my POST table didn’t have any INDEX information yet.
I’ve just had the AUTO_INCREMENT on ID field and … miracle I was able to add media and see my very cool new uploaded media thumbnail !!
I hope this could help you.
Best regardsForum: Fixing WordPress
In reply to: Can’t upload to Media Libraryin response to
Sergey Biryukov (@sergeybiryukov)
WordPress Dev
2 days, 12 hours agoYes, I’ve tried and others have tried disabling all the plugins at once and it didn’t change anything.
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryThank you all for responding!
first in response to
Samuel Wood (Otto) (@otto42)
www.ads-software.com Admin
2 days, 12 hours agoBelow are the only instances of upload_path and upload_url_path in the options.php page:
// If upload_url_path and upload_path are both default values, they’re locked.
if ( get_option( ‘upload_url_path’ ) || ( get_option( ‘upload_path’ ) != ‘wp-content/uploads’ && get_option( ‘upload_path’ ) ) ) {
$whitelist_options[‘media’][] = ‘upload_path’;
$whitelist_options[‘media’][] = ‘upload_url_path’;
}Does this look correct?
I’m working on the other responses. Thanks!
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryForum: Fixing WordPress
In reply to: Can’t upload to Media LibraryNo it didn’t help, here is the PHP Selector Options to see if these look right:
I really appreciate your help.
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryOk. With the Media Library errors, there are dozens of similar to this one below:
Notice: Trying to get property of non-object in /home/erniesapron/public_html/wp-includes/post.php on line 6305
I turned of debugging and the errors went away.
I’m just so frustrated with not being able to upload images, I so appreciate your help.
Is there anything else you suggest I do?
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryOk I deactivated the w3 plugin.
Do you what is causing this error when I view Media Library?
Notice: Trying to get property of non-object in /home/erniesapron/public_html/wp-includes/post.php on line 6305
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryI also disabled the plugins Sucuri Security and Yoast SEO
Forum: Fixing WordPress
In reply to: Can’t upload to Media Librarycan you see anything wrong with the wp-config.php file?
I get errors when I try to view the Media Library still and I didn’t change anything but the wp-config.php file.
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryYes on the screen. There is an error_log file and here are the errors listed in that file:
Thanks!
Forum: Fixing WordPress
In reply to: Can’t upload to Media LibraryI don’t know what I did, all I have changed is the wp-config.php file to put debug as true and not false.
Here is the error I get when I try to upload a new image:
https://pastebin.com/6LVd33kBForum: Fixing WordPress
In reply to: Can’t upload to Media LibraryI can’t find a debug.log file in any directory and I added the code to the wp-config.php file but I still can’t find it.
I do have an error_log file though and I pasted the errors from yesterday:
https://pastebin.com/x5hjgn8VNow when I go to Media Library in WP I get this error in multiple lines:
Notice: Trying to get property of non-object in /home/erniesapron/public_html/wp-includes/post.php on line 6305Thank you for your help in this matter.