php - Wordpress running on AppEngine: Photos not showing -
i have wordpress site running on appengine. followed http://googlecloudplatform.github.io/appengine-php-wordpress-starter-project/
i deactivated billing few times before. site inactive time. i've booted again, unable upload photos- well, i've checked bucket , shows there (with different file name - long string of nonsense lkeefjj234dsfsdffjsldfdhd). see photos in wordpress before , uploads show same file name file uploaded computer in bucket.
so uploads bucket, wordpress can't see it? maybe because of different filename? or can effect of me deactivating site while? can still see uploads made before when still working (in wordpress, they're still in media viewer thing).
the bat cache thing , app engine plug in both installed , activated (latest version).
i've tried creating new bucket, no luck well...
it's problem in app engine plugin. if in issues in github starter project, see issue it. submitted pull request/issue here https://github.com/googlecloudplatform/appengine-wordpress-plugin/issues/16
if sense can alter following:
the lines appear causing issue in /modules/uploads.php, 195-196
$_cookie[$auth_cookie_name] = $auth_cookie; $_cookie[logged_in_cookie] = $logged_in_cookie;
if these changed next code, upload works
if ( !isset($_cookie[$auth_cookie_name]) ) $_cookie[$auth_cookie_name] = $auth_cookie; if ( !isset($_cookie[logged_in_cookie]) ) $_cookie[logged_in_cookie] = $logged_in_cookie;
php wordpress google-app-engine wordpress-plugin google-cloud-storage
No comments:
Post a Comment