ckimrie / Site-Manager

Module that allows you to remotely manage ExpressionEngine sites and synchronise data
69 stars 6 forks source link

Site manager and third party folder #9

Closed interfacecreation closed 11 years ago

interfacecreation commented 11 years ago

Hi

I have the module installed on a couple of my client sites.

However the module control panel view in my site in which I want to control the instances with does not give me any information about the channels, addons, etc. nor am I able to sync.

I have setup all the sites using focus labs master config.

Here is my folder structure:

system public_html third_party themes assets . . .

Cheers

ckimrie commented 11 years ago

I have just released an update to the RequireJS-for-EE extension that specifically addresses problems arising from using the FocusLab master config setup.

Can you replace the installed extension with the new (1.3) version and see i this fixes your issue?

interfacecreation commented 11 years ago

I have updated RequireJS and the site manager module.

Now it runs better but still does not allow me to use it properly. EG sometimes I get the green ok in the overview page but when I get to the details the yellow indicator starts flashing. When trying to sync i would get error messages.

Sometimes the indicator is on yellow on the overview page too.

ckimrie commented 11 years ago

Very strange that it works on the overview page but not on the site details page. Can you let me know the following:

interfacecreation commented 11 years ago

btw when trying to login via site manager I still get the php error:

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant BASE - assumed 'BASE'

Filename: structure/ext.structure.php

Line Number: 112

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /xxxx/xxxx/system/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 402
interfacecreation commented 11 years ago

What are the environments of the sites you are connecting to/from? (eg: local, live etc)

I am connecting form a live site A (site from where all instances are managed) to a local site B and a production site B

What are the EE versions?

Everything is on 2.5.2

What browser & version are you using?

Chrome 22.0.1229.94

ckimrie commented 11 years ago

Hmm, looks like it could be a Structure compatibility issue. Are you able to disable structure to see if this fixes it? If this is a live site, then dont worry about it - I dont want you to lose you structure settings. Just looking for confirmation.

ckimrie commented 11 years ago

I've just patched a few issues, one of which fixes a structure compatibility bug when attempting to login and another that fixes channel sync bugs on EE2.5.2+

Please update to the latest version (0.2.1) and hopefully this should fix your issues.

ckimrie commented 11 years ago

Any luck?

interfacecreation commented 11 years ago

Sorry for the delay. Client work...

Yes module is working much better now. Login issue is fixed now.

If I go to site details or try to sync I get a couple of js errors from the chrome dev bar:

GET http://interfacecreation.com/themes/site_configs.js 404 (Not Found) require.js:33
Uncaught Error: Script error
http://requirejs.org/docs/errors.html#scripterror require.js:9

hence this parts are not working yet. Although they actually did once or twice and I was able to sync !!!

So it seems the error occurs randomly, more often than not.

ckimrie commented 11 years ago

OK, the intermittent nature of the sync working could be due to the different sync types loading different php resources. This could be related to the file path issues I've encountered on issue #11, so can you try downloading this custom branch and seeing if it fixes your issue?

ckimrie commented 11 years ago

The file path fixes mentioned in my previous comment have now been merged into the master branch, so could you download and install from the master branch and let me know if this fixes your issue? Thanks

ckimrie commented 11 years ago

Any luck?

interfacecreation commented 11 years ago

All good now, thanks a lot!