-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkdir function error on use #13
Comments
This looks like it is due to a permissions issue. The current version uses a directory to store data on your server to speed up requests. I worked on moving the cache to the database last night, which I should have done in the first place, and will be releasing an update today. |
Well, now with the update, I'm getting a different error: |
I did some more updates and released 0.8.1 which has been caching. After some other error testing I was able to duplicate your error but only when I put in the wrong subdomain. Let me know if that helps. |
Aha. That explains it. I had entered the whole url instead of just the
|
I looked into this and the problem is not with the plugin. The City has a bad cache that automatically expires after 12 hours. And it is only for certain page numbers. Shows the bad cache. Shows empty - as you would expect. If you create a new prayer post it should bust the cache. Then you could always delete it right afterward if you really want to show 10 on a page. Regardless if it still shows up tomorrow I will look into the code on The City side. |
Thanks. I'll take it from here.
|
This is what I get when I try to use the widget on my WordPress site. Any help?
Warning: mkdir() [function.mkdir]: File exists in /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/cachers/file/json_cache.php on line 139
Fatal error: Uncaught exception 'Exception' with message 'Failed to create cache directory' in /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/cachers/file/json_cache.php:140 Stack trace: #0 /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/cachers/file/json_cache.php(51): JsonCache->create_cache_directory_if_needed() #1 /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/loaders/base_loader.php(79): JsonCache->save_data('prayers_15_', NULL) #2 /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/plaza/prayers.php(27): BaseLoader->load_feed() #3 /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/the_city.php(153): Prayers->__construct(Object(PrayersLoader)) #4 /home/disciple/public_html/wp-content/plugins/the-city-plaza/load_data.php(36): TheCity->prayers('15') #5 {main} thrown in /home/disciple/public_html/wp-content/plugins/the-city-plaza/lib/plaza-php/lib/cachers/file/json_cache.php on line 140
The text was updated successfully, but these errors were encountered: