What do i do wrong ?
-
Hello,
Can you please tell me what i am doing wrong ?
– I installed a fresh wordpress 4.4.2 installation in my subdomain subdomain.mydomain.com and run the default template
– Then i installed your plugin in wordpress.
– I changed in the settings the destination url to : http://www.mydomain.com
– Then i clicked the generate button and a little logo was spinning. When it was finished it cleared up the windows and nothing happened.
– Tried to load http://www.mydomain.com but no pages where found there.
– Tried it with IE, Firefox but no effect. Same thing
– Checked the advanced tab and tried the temporary files directory link and there i could see the static files. I could also see them in the browser.What am i doing wrong or what might be going on ?
Thanks.
-
Hi innerchildweb,
So, a few things to check on. One, is your Delivery Method set to Local Directory? Two, is that local directory the same directory that your domain (e.g. http://www.mydomain.com/) is using to serve pages? Three, is Simply Static successfully saving static pages to that directory?
Best,
ScottHello Scott,
Sorry for the delay.
Thanks for replying.Answered your questions :
– One, is your Delivery Method set to Local Directory?
Yes
– Two, is that local directory the same directory that your domain (e.g. http://www.mydomain.com/) is using to serve pages?
The temporary files director is pointing to :
/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/static-files/
The local directory is pointing to :
/home/sites/site3649/web/
– Three, is Simply Static successfully saving static pages to that directory?
Yes it does. I can view the pages. I can even download them to my pc and upload these static pages to /home/sites/site3649/web/. Even the names have been changed inside the static pages if i look at the source of the page.
So that works, but for some reason, when i click on generate, the static pages are not moved automatically to /home/sites/site3649/web/
When i click on generate it starts a spinning circle and then the info on that screen just wipes of the screen and no message appears on screen.
Hope that this makes some sense.
Just to make it a bit more clear about your last question :
– Three, is Simply Static successfully saving static pages to that directory?
It saves the static pages only to the temporary file directory when i hit generate :
/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/static-files/
NOT to the local directory
/home/sites/site3649/web/
Thanks for the in-depth response, that helps a lot. My guess (based on what you said about Simply Static working for a while and then you getting a blank screen) is that Simply Static is timing out because it’s taking too long to generate all of the static pages.
I have a fix for that coming in v1.3.0, which should (hopefully) release in the next week or so.
Thanks for your reply.
About your remark :“that Simply Static is timing out because it’s taking too long to generate all of the static pages”
Well, i tried your plugin on a fresh installed wordpress version and i only have 1 page which i tested your page on. So if it times out it’s not due to 100+ pages.
Just 1 page i have where i tested it on. So something else is going.
Hmm, you’re right, there’s definitely something else going on then. Unfortunately I don’t have a good idea of what that might be. I’d suggest trying v1.3.0 of Simply Static and seeing what you see in it’s Activity Log. Maybe it’s getting stuck in an endless loop somewhere? Let me know what you see.
I’m also planning to build some debugging tools into one of the next versions of Simply Static. I think that might help.
Thanks for your patience. We’ll get this sorted out soon.
Best,
ScottThanks for your comment.
– I updated my wordpress to 4.5 coleman.
– Removed the earlier version of simply static from wordpress
– I downloaded the full Version 1.3.3 within wordpress itself ( Plugins -> add new -> search in the plugin section )
– When i tried to activate your plugin i got the follow error message :( ! ) Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0001 99376 {main}( ) ../plugins.php:0
2 0.2113 6548520 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.2116 6549360 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.2121 6562632 Simply_Static::init( ) ../simply-static.php:30
5 0.2121 6562736 Simply_Static::instance( ) ../class-simply-static.php:102
6 0.2121 6563144 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.2123 6563744 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:157( ! ) Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/usr/share/pear’) in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0001 99376 {main}( ) ../plugins.php:0
2 0.2113 6548520 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.2116 6549360 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.2121 6562632 Simply_Static::init( ) ../simply-static.php:30
5 0.2121 6562736 Simply_Static::instance( ) ../class-simply-static.php:102
6 0.2121 6563144 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.2123 6563744 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:157Now i can’t even run it anymore. Tried it on a 1 WP version before 4.5 and i still got the same error.
Does this something have to do with my host and restrictions which is causing your plugin not to work or is this something else ?
Thanks for looking into this.
Ps I do not know if this was done on purpose but if you search within an installed wordpress for your plugin it states the following with last updated :
– Last Updated: 46 years ago
That would be the oldest plugin ever created for a non excisting piece of software π
Hi innerchildweb,
There’s an issue with the WordPress plugin repository at the moment where it’s not processing updates to plugins correctly. So, unfortunately I can’t even test that v1.3.3 is working for myself at the moment. Hopefully they’ll get things rolling again soon.
Best,
ScottThanks. I deleted my previous wp including the database. Installed wp 4.5 and download Stable tag: 1.3.3 version of your plugin.
As soon as i hit activate i receive again a lot of errors :
( ! ) Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0002 99392 {main}( ) ../plugins.php:0
2 0.2326 6581272 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.2330 6582112 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.2334 6595384 Simply_Static::init( ) ../simply-static.php:30
5 0.2334 6595488 Simply_Static::instance( ) ../class-simply-static.php:102
6 0.2335 6595896 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.2337 6596496 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:157( ! ) Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/usr/share/pear’) in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0002 99392 {main}( ) ../plugins.php:0
2 0.2326 6581272 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.2330 6582112 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.2334 6595384 Simply_Static::init( ) ../simply-static.php:30
5 0.2334 6595488 Simply_Static::instance( ) ../class-simply-static.php:102
6 0.2335 6595896 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.2337 6596496 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:157The weird thing is is that when i try to delete your plugin it just referts me to a blank page and it does not delete the plugin. I have to manually remove it from the folder on the server.
The url shows me :
I think something is not working correctly with my host settings. I did not see other people having the same issues. Can you maybe have a look why this is not working ? Then i can take it up with my host provider.
Thank you.
Hi innerchildweb,
Sorry for the trouble you’re running into. Can you try this again with v1.3.4 of Simply Static? v1.3.3 had a variety of problems that were resolved in v1.3.4, and while I don’t think this was one of them, I’d like to eliminate that possibility.
In addition to uninstalling the plugin, you may want to FTP into your server and delete any remaining plugin files, since that sounds like it may be a possibility based on what you posted above.
Uninstall, delete any remaining files, install a fresh copy of Simply Static, and let me know what happens π
Best,
ScottThanks for your comment.
I deleted the plugin manually.
Downloaded the 1.3.5 version.Still the plugin crashes.
Is this maybe some how related to restrictions which my host has on running your plugin ?If you want i can give you admin access to my wordpress site so you can use it to test it out ?
Anyway thanks for the time.
====
Plugin could not be activated because it triggered a fatal error.
( ! ) Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0002 100696 {main}( ) ../plugins.php:0
2 0.3283 6586912 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.3288 6587752 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.3295 6601024 Simply_Static::init( ) ../simply-static.php:30
5 0.3295 6601128 Simply_Static::instance( ) ../class-simply-static.php:100
6 0.3295 6601536 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.3298 6602136 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:159( ! ) Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/usr/share/pear’) in /home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php on line 5
Call Stack
# Time Memory Function Location
1 0.0002 100696 {main}( ) ../plugins.php:0
2 0.3283 6586912 plugin_sandbox_scrape( ) ../plugins.php:164
3 0.3288 6587752 include( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/simply-static.php’ ) ../plugin.php:1934
4 0.3295 6601024 Simply_Static::init( ) ../simply-static.php:30
5 0.3295 6601128 Simply_Static::instance( ) ../class-simply-static.php:100
6 0.3295 6601536 Simply_Static->includes( ) ../class-simply-static.php:68
7 0.3298 6602136 require( ‘/home/sites/site3649/subdomains/bf/wp-content/plugins/simply-static/vendor/autoload.php’ ) ../class-simply-static.php:159I think this problem of mine is related to the php version used by my host provider…..
I did a check on the version running :
Running PHP version: 5.2.17
Did a check on google about the problems i encounter…
https://forum.dokuwiki.org/thread/12857
This is a php version which is 5 years old….
I am not 100% sure if this is the case but as i am the only here with these kind of errors i assume this had to be related with something else.
Time to switch with this host….
Could be something to mention in the install notes about versions conflicts in php..
Indeed. The problem i had was related to php version 5.2.17.
My host updated php to Running PHP version: 5.6.16 and now i could install your plugin.So it would be suggestion to put this in your FAQ..
Thanks for the support.
Thanks for debugging the issue, innerchildweb! I’ll make a note of that somewhere in the readme and try to add something into Simply Static itself to flag that.
Best,
Scott
The topic ‘What do i do wrong ?’ is closed to new replies.