Login after installing plugins - impresspages

after installing these plugins:
Concatenate Js/Css and
SimpleCache
I get this error in backend:
Error: <!DOCTYPE html>
<html lang="de">
I have this behaviour at two sites. Other sites without these plugins are working.
How can I reach the backend or what have I to do to reach the backend?
Regards
Uwe

turn on safe mode: http://www.impresspages.org/docs/safe-mode/
It turns off all plugins.
You also make plugins inactive by going to the database and altering ip_plugin table records.

Thanks for support. I've got the problem, that I can't reach the backend.
In your doc is written:
Safe mode can be used only by the administrator. Make sure you are logged in to the admin before trying to enter safe mode. - See more at: http://www.impresspages.org/docs/safe-mode/#sthash.1wgnuAaq.dpuf
Well, I can't enter the backend. When I'm typing: www.http://domain.tld/admin I get the error above. Is there a fault on my side?
Is it possible to rename or delete the both plugin-folders via ftp to get than access to the backend?
You also make plugins inactive by going to the database and altering ip_plugin table records. Okay, thank you.

Plugin has been updated. Should work now.

Related

PHPBB 3.0.1 website migrating to new hosting service

I am trying to find some guidance on where to go next on the issue I am having migrating a phpbb3 site from one hosting service to another.
I have checked to make sure the config.php file has been changed to work on the new server, as well as the common.php file. I am getting a HTTP 500 error when I try to search for the forum. The main site is working normally, just the message board is having a problem.
Nothing about the structure of the sites pages has changed, only the hosting server. (I downloaded a copy of the website before moving it so I have everything in the exact way it was before, just on the new server.)
Do I need to install phpbb onto the server itself with Softaculous?
Anything would help, I need to get the site back up and running soon.
Thanks in advance.
Jacob
This post would have been better addressed on phpBB.com support section...
In any cases most hosting companies out there will perform the migration for you for free.
Did you ask about handling a migration for you?
There are many things that need to be done when migrating to a new hosting.
here a couple of pointers for you:
-PHP version in use should be PHP 5.6.x as phpBB 3.0.x does not support higher PHP versions
-config.php might need updating, for example these two fields:
$dbhost = '';
$dbport = '';
-check your error logs in your cPanel as they will reveal the cause of the 500 error
Also, NO you do not need Softaculous
I'll be happy to help you with this if you PM me on:
https://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=1428301
-SiteSplat
The php version on the new hosting services server was above what phpBB 3.0.x needed. I upgraded phpBB to version 3.2.9 and the issue was resolved.

Disable Client Side Routing in Gatsby

Is it possible to disable client side routing in Gatsby?
I'm using Gatsby to generate a static site which only has one page and will be served from AWS/S3. I'm running into an issue caused by Gatsby removing the object suffix from the URL (https://s3.amazonaws.com/top-bucket/sub-bucket/index.html becomes https://s3.amazonaws.com/top-bucket/sub-bucket/) after the page and the Gatsby runtime loads. This issue does not happen if I disable JavaScript, so I'm pretty certain it's caused by Gatsby's use of React/Reach Router.
Is there any way to disable this behavior? I know I can probably setup a redirect on S3 to handle the request to the bucket, but I'd prefer to do this at the application level, if possible.
This is a hack and may not work in anyone else's application or break with future releases of Gatsby, but I was able to prevent this redirect by setting window.page.path = window.location.pathname; in gatsby-browser.js. This short circuits a conditional check in production-app.js, which attempts to "make the canonical path match the actual path" and results in the (IMO) unexpected behavior referenced above.
this issue is pretty old but hope it helps someone, I used this plugin: https://github.com/wardpeet/gatsby-plugin-static-site
npm install #wardpeet/gatsby-plugin-static-site --save
And just added it in gatsby-config.js
plugins: [{
`#wardpeet/gatsby-plugin-static-site`,
}]
Client side routing was then disabled!

Apache won't stop using old project files / refuse to remove old cache

I am using Apache httpd on localhost to connect to the project I'm working on, I have been deleting web cache when website is showing the old project instead of the new one. However recently the project is stuck on an outdated version and restarting/clearing cookies won't work with the user I'm assigned.
I tried using another user with my project and it works just fine. I recently did use svn revert which may have caused my user to get stuck with old project, but I'm not sure that's the problem.
Commands I use to start and stop:
sudo service httpd start
sudo service httpd stop
Any advice or tips are greatly appreciated.
Update: I managed to get the page to update the html, however my JavaScript won't load which I suspect is due to another user being stored and thus not accessing the database I use which leads to nothing being generated.
(Posted on behalf of the OP).
I got everything to "work" again by accident, I made some edits to PHP and my PHP crashed because of a syntax error. When I fixed it back to original stage it was working again. It most likely is related to a user the previous owner created that caused the problem.
Just clear Temporary files
In windows CTRL+R and type %temp% and delete all the files it will help to you

Plesk vs rails3 assets

I took over a clumsily-installed Rails app. Its assets are broke. Chrome Audit returns:
> Leverage browser caching
The following resources are missing a cache expiration.
Resources that do not specify an expiration may not be cached by browsers:
jquery-1.8.3.js
jquery-ui-1.8.17.custom.min.js
rails.js
application.js
jquery.ui.base.css
jquery.ui.theme.css
...etc.
This obviously churns our network. Wat do? Where in Rails-land, or Plesk's vhost.conf file, does one add a line of configuration so the correct HTTP headers go out?
Please don't tell me "just rebuild the assets" - the rebuild is slightly broken.
have a look at Andre Spannig's page if you like tweak the web server configuration for your current domain only: Plesk 10 and vhost.conf.
This helped me once on a different issue.
There may be a better way through Rails but I am not aware of one right now.

DOJO without internet connection

I require to build an intranet site using DOJO. The user should be able to use the site even without internet connection. But when I use dojo.require("dojox.widget.AutoRotator"); it is fetching the JS files from ajax.googleapis.com. Is there any way to avoid this. I specified a local location for dojo.js:
<script type="text/javascript" src="/dojo/dojo.js">, but AutoRotator.js is not getting fetched from this location. It is fetching from internet.
If you use a CDN hosted version of Dojo, then when you dojo.require anything, it pulls it.
If you want to avoid this, then you should create a build, or host your own version of Dojo locally.
Problem solved. We have to give local path in "registerModule" of dojo.xd.js. Then JS will get picked up from the location which we give in registerModule.
Eg:
dojo.registerModulePath("dojo","/portal_dojo/dojo");
dojo.registerModulePath("dijit","/portal_dojo/dijit");
dojo.registerModulePath("dojox","/portal_dojo/dojox");