Jump to content

Migrate Processwire with Plugin but Backend does not work as expected


Maxplex
 Share

Recommended Posts

Hey there, 

i have a big Problem. I migrate Processwire with a Plugin from my local Mama Server to a 1&1 web server. After few Problems with Internal Error (.htaccess), the site looks greta and its work. But my Admin Panel are not working correctly. Before I installed the AdminThemeUIKit but now I can't install ist anymore and I can't refresh my modules. Nothing happens after a mouse click on it. If I am going to the pages, I can't see anything. There isn't a Site Tree or anything else. I can not change anything there. Please help me, it is a huge Problem for me... The admin looks like the very beginning of Processwire !!!

Bildschirmfoto 2018-02-06 um 15.36.55.png

Bildschirmfoto 2018-02-06 um 15.36.59.png

Link to comment
Share on other sites

1 hour ago, Maxplex said:

The admin looks like the very beginning of Processwire !!!

:lol:

I have been bitten by this several times. Last time it happened, I had two AdminThemeUiKit, one under /site. I deleted that one and the theme was able to load correctly. Similar cases, have been reported here in the forums, albeit with different suggested solutions.

Welcome to the forums.

Link to comment
Share on other sites

1 hour ago, adrian said:

Because turning it on might display the real reason for the internal server error :)

If i click on Modules or setup and then templates or files I can't go on :o I only get the error on this image, I am despair :(

Bildschirmfoto 2018-02-06 um 21.51.36.png

Link to comment
Share on other sites

7 hours ago, Maxplex said:

I migrate Processwire with a Plugin from my local Mama Server to a 1&1 web server.

Not sure what kind of plugin you used, but you don't need a plugin to do this task in any case. I'd start over and migrate using a procedure like this:

  1. Export database from local server using phpMyAdmin or similar.
  2. Make ZIP file of all local website files.
  3. Create new database and database user at 1&1. Try to use the same database name and user name as your local site if possible, but no big deal if not possible - you'll just need to edit the details in /site/config.php to match.
  4. Import database from step 1 to the new database you created at 1&1.
  5. Upload ZIP file from step 2 to public_html root. Extract ZIP file (assuming that 1&1 has a file manager that supports unzipping - otherwise you'll have to upload all the website files uncompressed which will take a lot longer).

Done.

  • Like 1
Link to comment
Share on other sites

14 hours ago, Robin S said:

but you don't need a plugin to do this task in any case

@Maxplex Did you use this one by any chance? https://modules.processwire.com/modules/duplicator/

Duplicator should work but as @Robin S pointed out, manual cloning of the site should work too. I used to install a few sites at 1&1 without issues.

  • Like 1
Link to comment
Share on other sites

Looking at the line where that addBodyClass error is coming from:

$this->wire('adminTheme')->addBodyClass('LanguageTabsJqueryUI');

we can see it's related to the theme issues you are having.

At this point I would copy across all the files from the wire folder again with a fresh set from Github. If that doesn't work on it's own, I'd be calling:

http://mysite.com/processwire/module/?reset=1

If that doesn't work, empt the assets/cache folder.

Then try the cache db table.

 

  • Like 3
Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...