modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Media Sources and Package Management not loaded #6510

Closed modxbot closed 12 years ago

modxbot commented 12 years ago

gugelhuhn created Redmine issue ID 6510

+Only+ Media Sources and Package Management don't get loaded into the manager, meaning no extras can be installed. MODX revo 2.2.0-rc3 (traditional) is running in a shared hosting environment, but I also have revo 2.1.3-pl traditional installed in the same hosting environment with no problems loading Package Management.

opengeek commented 12 years ago

opengeek submitted:

I cannot reproduce any issues like this. Perhaps a failed FTP upload on one or more of the files?

modxbot commented 12 years ago

gugelhuhn submitted:

I will do a new install in the same environment to check!

modxbot commented 12 years ago

gugelhuhn submitted:

I forgot to check the error log for this one. I had two errors:

modxbot commented 12 years ago

gugelhuhn submitted:

Deleted all files and db, new download of revo zip file, unzipped revo manually locally, then uploaded all files to the server again with no ftp error message. I did not receive a setup error warning, but unfortunately have the same problems (6510-12). Revo error log says this: [2011-12-27 15:01:12](ERROR @ /connectors/layout/modx.config.js.php) Error caching action map mgr/actions [2011-12-27 15:03:43](ERROR @ /connectors/system/classmap.php) Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'name' in 'order clause' )

opengeek commented 12 years ago

opengeek submitted:

I still can't reproduce anything like this. Anything else you think might be relevant?

modxbot commented 12 years ago

gugelhuhn submitted:

I would think it can't be the browser or the environment. If you fortunately can't reproduce it either, it must be a mistake I have made during the installation - maybe I checked a wrong checkbox anywhere? So I would guess it is safe to close this bug, but I will report again if a can come up with any clues.

modxbot commented 12 years ago

gugelhuhn submitted:

Further info:

opengeek commented 12 years ago

opengeek submitted:

This is definitely an issue with minify in your environment, but I do not know why. Can you provide information on a) your $_SERVER['DOCUMENT_ROOT'] and b) the full physical location of your MODX files?

opengeek commented 12 years ago

opengeek submitted:

Marianne Dudelhuhn wrote:

DOCUMENT_ROOT /home/content/h/i/m/himika/html HTTP_HOST www.therapie-hessen.de

I changed to rc3 again and installed the English version now.

Just a few more details please:

MODX_MANAGER_PATH and MODX_MANAGER_URL MODX_ASSETS_PATH and MODX_ASSETS_URL

modxbot commented 12 years ago

gugelhuhn submitted:

/therapie-hessen_de/manager http://www.therapie-hessen.de/manager/ /therapie-hessen_de/assets http://www.therapie-hessen.de/assets/

opengeek commented 12 years ago

opengeek submitted:

I don't believe /therapie-hessen_de/manager is a valid absolute file path. Is this a symlink on the system?

modxbot commented 12 years ago

gugelhuhn submitted:

In my hosting plan files for multiple domains are stored in folders of this syntax for each domain, and these are pointed to the root. Do you need the host name of my hosting account as well?

MadeMyDay commented 12 years ago

mademyday submitted:

Same problem here at one specific hosting company (@Marianne: profihost.de, you?). Manager ist accessible, but no tree and sometimes no CSS. Obviously a problem with the minification. See attached screen of console output. I don't think it is a path problem, because that shouldn't result in a 400.

modxbot commented 12 years ago

gugelhuhn submitted:

This shared hosting account is at godaddy.com, but I have no issues with revo 2.1.3 at the same account. Issues exist with manager resources 63 and 69 only, and also with adding new TVs. Quick Create is loading for TVs, though, as is adding/editing of Snippets, Plugins, etc. The resource tree is loading and resources are editable, just RTE does not load here.

opengeek commented 12 years ago

opengeek submitted:

I see the issue. The extra path for the subdomain is not reflected in the document root, but is within it so it passes the check's to see if minify should assume it is within the document_root, even through the actual document_root for that site should be the full path to the subdomain directory.

I'll make some adjustments to support these configurations as well.

opengeek commented 12 years ago

opengeek submitted:

This should now be fixed by making sure the MODX_MANAGER_PATH minus the MODX_MANAGER_URL equals the document root. If not, the virtual directories are added. Let us know if this does not resolve your issues.

modxbot commented 12 years ago

gugelhuhn submitted:

You genius! I will report again when the latest nightly is downloadable.

modxbot commented 12 years ago

gugelhuhn submitted:

Something is broken now, after the update (release Dec 30, 2.2.0-pl traditional). My manager paths and url are stored as before in config. After login the manager menu loads, but the resource tree does not load (the MODX Newsfeed, Security Feed, Whos online and Last edited resources go fullscreen), and none of the manager resources can be loaded (400, and 404 for manager template images). Log out is not possible either (uncaught TypeError: Object has no method 'confirm').

In Google Chrome even the Newsfeed does not load anymore. Chrome error log: http://www.therapie-hessen.de/manager/min/index.php?f=/manager/assets/modext/widgets/modx.treedrop.js,/manager/assets/modext/widgets/windows.js,/manager/assets/modext/widgets/resource/modx.tree.resource.js,/manager/assets/modext/widgets/element/modx.tree.element.js,/manager/assets/modext/widgets/system/modx.tree.directory.js,/manager/assets/modext/core/modx.view.js,/manager/assets/modext/core/modx.layout.jsFailed to load resource: the server responded with a status of 400 (Bad Request) http://www.therapie-hessen.de/manager/min/index.php?f=/manager/assets/modext/core/modx.localization.js,/manager/assets/modext/util/utilities.js,/manager/assets/modext/core/modx.component.js,/manager/assets/modext/widgets/core/modx.panel.js,/manager/assets/modext/widgets/core/modx.tabs.js,/manager/assets/modext/widgets/core/modx.window.js,/manager/assets/modext/widgets/core/modx.tree.js,/manager/assets/modext/widgets/core/modx.combo.js,/manager/assets/modext/widgets/core/modx.grid.js,/manager/assets/modext/widgets/core/modx.console.js,/manager/assets/modext/widgets/core/modx.portal.jsFailed to load resource: the server responded with a status of 400 (Bad Request) http://www.therapie-hessen.de/manager/min/index.php?f=/manager/assets/modext/widgets/security/modx.grid.user.recent.resource.js,/manager/assets/modext/widgets/modx.panel.welcome.js,/manager/assets/modext/sections/welcome.jsFailed to load resource: the server responded with a status of 400 (Bad Request)

modxbot commented 12 years ago

gugelhuhn submitted:

A Happy New Year to all MODXers!

Just wondering why it is that before the fix the resource tree and most manager resources loaded and afterwards my issues are exactly the same as for #6509.

modxbot commented 12 years ago

gugelhuhn submitted:

All issues gone!

modxbot commented 12 years ago

gugelhuhn submitted:

I have to add that I had set compress_js=0 before the resource tree started loading.

modxbot commented 12 years ago

gugelhuhn submitted:

Now everything's working fine again!

I have to add that I had set compress_js=0 before the resource tree started loading this morning. Is it possible that the system activated it again? I deactivated it again and now everything is loading again. Sorry for causing confusion.

greebie commented 12 years ago

greebie submitted:

This has recurred for me again - blank screen and no access to the document editor nor the system settings.