Asset Map doesn't loads up

Can someone help! :rolleyes: I have run the installation pretty smoothly for the latest version of Matrix 3.18.2 on Suse Linux Enterprsie Server 10 with Php 5.2.5, Apache 2.2.3, PEAR 1.9.3, Postgre 8.1.11, and Java 1.6.0_06.


after login at the admin interface as root; nothing loads up, no asset map on the left ;

status bar at the left says: Applet net/squiz/matrix/assetmap/AssetMap notinited and then says:loading java applet failed.





Following message is displayed in the Java console:



load: class net/squiz/matrix/assetmap/AssetMap.class not found.

java.lang.ClassNotFoundException: net.squiz.matrix.assetmap.AssetMap.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



I can't wait to get it started!!

:rolleyes:

[quote]after login at the admin interface as root; nothing loads up, no asset map on the left ;
status bar at the left says: Applet net/squiz/matrix/assetmap/AssetMap notinited and then says: loading java applet failed.[/quote]



Do you get any of the Administration Interface? What do your Apache aliases look like? Also, if you have Firefox and Firebug, can you check to see what URLs the system is trying to load the asset map applet from? It may be that your Apache configuration isn't correct, so the browser can't find the asset map.

Dear Avi,


Thanks for replying, the answers to your questions are:



No I don't get any of the administrator interface.



My Apache aliases look like the following: :unsure:



Alias "/__data" "/home/websites/mysource_matrix/data/public"

Alias "/__lib" "/home/websites/mysource_matrix/core/lib"

Alias "/__fudge" "/home/websites/mysource_matrix/fudge"

Alias "/" "/home/websites/mysource_matrix/core/web/index.php/"



the Virtual Host settings are as follows (pls note: these are the only lines I have added in the Apache->httpd.conf file)



<VirtualHost *:80>

DocumentRoot /home/websites/mysource_matrix/core/web

ServerName servername (pls note i have just taken out the actual name)



<Directory "/home/websites/mysource_matrix">

Options -Indexes FollowSymLinks

Order deny,allow

Deny from all

</Directory>

<Directory "/home/websites/mysource_matrix/core/web">

Options -Indexes FollowSymLinks

Order allow,deny

Allow from all

</Directory>

<Directory "/home/websites/mysource_matrix/core/lib">

Options -Indexes FollowSymLinks

Order allow,deny

Allow from all

</Directory>

<Directory "/home/websites/mysource_matrix/data/public">

Options -Indexes FollowSymLinks

Order allow,deny

Allow from all

</Directory>

<Directory "/home/websites/mysource_matrix/fudge">

Options -Indexes FollowSymLinks

Order allow,deny

Allow from all

</Directory>



Alias "/__data" "/home/websites/mysource_matrix/data/public"

Alias "/__lib" "/home/websites/mysource_matrix/core/lib"

Alias "/__fudge" "/home/websites/mysource_matrix/fudge"

Alias "/" "/home/websites/mysource_matrix/core/web/index.php/"



</VirtualHost>



:unsure:



also following is the text sitting in the error.log file in matrix logs directory (/home/websites/mysource_matrix/data/private/logs/error.log):



[date time] [12: Root User] [1024:mysource notice] [R] (/core/include/locale_manager.inc:504) - URL "http://servername/error/HTTP_FORBIDDEN.html.var" not found [SYS0218]



the above error is appearing 62 lines and then couple of below mentioned errors:



[date time] [12: Root User] [1024:mysource notice] [R] (/core/include/locale_manager.inc:504) - URL "http://servername/_admin/net/squiz/matrix/assetmap/AssetMap.class" not found [SYS0218]



[date time] [12: Root User] [1024:mysource notice] [R] (/core/include/locale_manager.inc:504) - URL "http://servername/_admin/net/squiz/matrix/assetmap/AssetMap/class.class" not found [SYS0218]





Waiting for your reply.



Thanks



Jatinder


What does your /home/websites/mysource_matrix/data/private/conf/main.inc file contain? Have you setup your SQ_SYSTEM_ROOT URLs?

Yes, I have the same servername entered already, in the SQ_CONF_SYSTEM_ROOT_URLS in the main.inc


define('SQ_CONF_SYSTEM_ROOT_URLS','servername');

Do you have NameVirtualHost *:80 enabled in httpd.conf?

I didn't had that written before in the httpd.conf file but I just inserted the line before virtual host settings in the httpd.conf file and still getting the same errors.


thanks

Interesting. Are you getting anything in the Apache error_log or access_log files?

which directory should I look for these files cos I can't find them in /etc/apache2?

Found them!


Hang on a sec I'll just post whats in them—

Ok, the files error_log and access_log are present in the directory /var/log/apache2 :rolleyes:


and this is what, present in them



Error_log: :unsure:



PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0

[date time] [notice] Apache/2.2.2 (Linux/Suse) configured – resuming normal operations



Access_log :unsure:



ip address (like 205.48.56.163) - - [date time] “GET /__lib/js/edit.js HTTP/1.1” 404 653 “http://servername/_admin/?SQ_BACKEND_PAGE=header&current_assetid=&sq_lock_type=&sq_popups_blocked=1” “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14”



Pls note: the above message is repeated quite a times; sometimes with GET /__lib/(filenames) and fewtimes with GET /_admin/(filenames)



There are 2 other messages with /_admin



ip address - - [date time] “GET /_admin/net/squiz/matrix/assetmap/AssetMap.class HTTP/1.1” 404 671 “-“ “Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_06”



ip address - - [date time] “GET /_admin/net/squiz/matrix/assetmap/AssetMap/class.class HTTP/1.1” 404 677 “-“ “Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_06”



There are 8 same messages present at the bottom of this file saying



different ip address (like 147.0.0.1) - - [date time] “GET / HTTP/1.1” 404 623 “-“ “Apache/2.2.3 (Linux/SUSE) (internal dummy connection)”



I hope that would be helpful? :rolleyes:

Apache on that box doesn't seem to like the Alias lines in your configuration. It is sending 404 (page not found) errors for /_admin instead of passing control into the PHP script. I don't know enough about SUSE's default Apache/PHP configuration to know why this is happening.

thanks for that Avi,


I'm gonna understand the whole structure of how the Apache is distributed on SUSE and then try configuring it from SUSE's point of view.



Thanks heaps



Jatinder :rolleyes:

Hi Guys!!! :rolleyes:


Got it Working!!! :rolleyes:



sorry Avi: there was a slash missing in the one of the Apache aliases 'lib' which is very hard to trace! I have just been lucky to save my time configuring the whole apache again and finding out how Suse handles apache!!! :stuck_out_tongue:



Thanks heaps again Avi, you are genius!! :wink:



Cheers

Jatinder