21287 Posts in 5733 Topics by 2602 members
| Go to End | Next > | |
| Author | Topic: | 3562 Views |
-
Admin Panel not Loading

9 May 2009 at 12:13am Last edited: 9 May 2009 12:14am
Hi toghether!
I have a big problem: after a day working normal in the admin panel, today its not loading any more. I testet it with Safari, Firefox, IE 7 + 8, and it doesn't load. I just get the image: loading... Welcome to Silverstripe and thats it.
My Firebug Console says:Class ss.i18n not defineden_US.js...229296748 (Linie 2)
Class ss.i18n not defineden_US.js...231098970 (Linie 2)
Class is not defined
[Break on this error] FieldEditor = Class.create();
FieldEdi...229303404 (Linie 1)
Class is not defined
[Break on this error] ToolbarForm = Class.create();
tiny_mce...237164362 (Linie 1)
Behaviour is not defined
[Break on this error] Behaviour.register({
admin (Linie 512)
Behaviour is not defined
[Break on this error] Behaviour.register({
admin (Linie 790)
Behaviour is not defined
[Break on this error] Behaviour.register({
admin (Linie 723)
Behaviour is not defined
[Break on this error] Behaviour.register({
admin (Linie 740)You can test it yourself on www.tonisch.de/admin. The user ist »test@test.de«, passw: »thomas«.
Thanx in advance!
-
Re: Admin Panel not Loading

9 May 2009 at 1:06am Last edited: 9 May 2009 1:09am
Yup, there are some required javascript files that aren't loaded (as you can see in the "net" tab of firebug).
assets/base.js
assets/leftandmain.js
assets/cmsmain.js
I get a 403 (permission denied) error on these assets. I guess you should have a look at the folder permissions and set them at least to readable (chmod 0644)Edit hmm. why are these placed in /assets/ ? There's something wrong i guess. What does your .htaccess look like?
-
Re: Admin Panel not Loading

9 May 2009 at 1:57am
Hej!
I made some changes bevor i read your comment - so I could not recognize what you wrote. I started to load the /jsparty again to the site. Now the Problem is solved, but I think it will be there again by tomorrow.
Thanks for the advice with the firebug:net feature. I almost forgot having this feature already implemented in firebug.
I will keep your comment in mind and report to you tomorrow if the problem stays on...Thanx!
-
Re: Admin Panel not Loading

9 May 2009 at 2:03am Last edited: 9 May 2009 2:06am
So, the error is back on.
My /.htaccess file is:### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###and, the asstes folder got the permission: 0750
and, giving the *.js in the assets-folder the permission: 0640 its displaying just something, like the sitetree. but not more... -
Re: Admin Panel not Loading

9 May 2009 at 2:13am
I dont get it.
I've uploaded the .htaccess file of the installation package and now it works. but I tried this already yesterday and nothing happend...
Its really weird.... -
Re: Admin Panel not Loading

9 May 2009 at 6:03am
Problem solved!
setting the right permissions in the asset-folder for the files: base.js, cmsmain.js and leftmain.js I get access to the admin panel.
But could someone tell me, why these files are in this directory?? -
Re: Admin Panel not Loading

15 June 2009 at 7:40am
I'm having this same problem but it's still not resolved yet. What are the correct permissions for the 3 js files? I've got them all at 755 right now, re-uploaded jsparty & still not working.
-
Re: Admin Panel not Loading

15 June 2009 at 7:53am
Hi!
I gave them all 640. And the »assets« Folder got 750. But my Webserver need some special treatment with the file-rights.
Firebug for Firefox helped me debugging the Permission - Errors.Good luck!
| 3562 Views | ||
| Go to Top | Next > |



