Login no images, main menu empty

Login screen shows no images, main page is empty!
Please I need urgent help.

The Login Page has no graphics. Neither my logo.
I am able to enter user and password, and the mainmenu is also empty!
This is what the Element Inspector shows in Firefox:
Output of index.php?mainmenu=home:

POST http://localhost/dolibarr/index.php [HTTP/1.0 500 Internal Server Error 30ms]
reflow: 0.13ms
reflow: 0.43ms
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. index.php
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. index.php

And this is the output of the login page:
/loalhost/dolibarr/:

GET http://localhost/dolibarr/ [HTTP/1.1 200 OK 47ms]
GET http://localhost/javascript/jquery-ui/css/smoothness/jquery-ui.min.css [HTTP/1.1 404 Not Found 1ms]
GET http://localhost/dolibarr/includes/jquery/plugins/tiptip/tipTip.css [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/jnotify/jquery.jnotify-alt.min.css [HTTP/1.1 304 Not Modified 1ms]
GET http://localhost/dolibarr/theme/eldy/style.css.php [HTTP/1.0 500 Internal Server Error 37ms]
GET http://localhost/javascript/jquery/jquery.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/javascript/jquery-ui/jquery-ui.min.js [HTTP/1.1 404 Not Found 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/tablednd/jquery.tablednd.0.6.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/tiptip/jquery.tipTip.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/jnotify/jquery.jnotify.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/core/js/jnotify.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/flot/jquery.flot.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/flot/jquery.flot.pie.min.js [HTTP/1.1 304 Not Modified 0ms]
GET http://localhost/dolibarr/includes/jquery/plugins/flot/jquery.flot.stack.min.js [HTTP/1.1 304 Not Modified 1ms]
GET http://localhost/javascript/ckeditor/ckeditor.js [HTTP/1.1 404 Not Found 5ms]
GET http://localhost/dolibarr/core/js/lib_head.js [HTTP/1.1 304 Not Modified 5ms]
GET http://localhost/dolibarr/core/js/datepicker.js.php [HTTP/1.0 500 Internal Server Error 22ms]
GET http://localhost/dolibarr/core/js/dst.js [HTTP/1.1 304 Not Modified 5ms]
GET http://localhost/dolibarr/viewimage.php [HTTP/1.0 500 Internal Server Error 56ms]
Unknown property ‘-moz-border-radius’. Declaration dropped. tipTip.css:37
Unknown property ‘-moz-box-shadow’. Declaration dropped. tipTip.css:40
Expected media feature name but found ‘-webkit-min-device-pixel-ratio’. tipTip.css:101
Expected ‘none’ or URL but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. jquery.jnotify-alt.min.css:28
Unknown property ‘-moz-opacity’. Declaration dropped. jquery.jnotify-alt.min.css:29
Unknown property ‘-moz-border-radius’. Declaration dropped. jquery.jnotify-alt.min.css:34
Unknown property ‘-moz-box-shadow’. Declaration dropped. jquery.jnotify-alt.min.css:37
reflow: 0.06ms function b.support<, jquery.min.js line 16
reflow: 0.2ms function b.support<, jquery.min.js line 16
GET http://localhost/javascript/jquery-ui/jquery-ui.min.js [HTTP/1.1 404 Not Found 0ms]
GET http://localhost/javascript/ckeditor/ckeditor.js [HTTP/1.1 404 Not Found 0ms]
TypeError: $.widget is not a function lib_head.js:893
GET http://localhost/dolibarr/core/js/datepicker.js.php [HTTP/1.0 500 Internal Server Error 30ms]
reflow: 1.15ms
reflow: 0.16ms function b.support</<, jquery.min.js line 16
reflow: 0.09ms function b.support</<, jquery.min.js line 16
reflow: 0.06ms function b.support</<, jquery.min.js line 16
reflow: 0.12ms function b.support</<, jquery.min.js line 16
reflow: 0.06ms function b.support</<, jquery.min.js line 16
reflow: 0.07ms function b.support</<, jquery.min.js line 16
reflow: 0.06ms function b.fn[bw], jquery.min.js line 23
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More]
Password fields present in a form with an insecure (http://) form action. This is a security risk that allows user login credentials to be stolen.[Learn More]
GET http://localhost/dolibarr/viewimage.php [HTTP/1.0 500 Internal Server Error 19ms]
reflow: 0.11ms
reflow: 0.07ms
reflow: 0.41ms
reflow: 0.07ms function nextStep, progressmeter.xml line 82

Take a look at your apache error log file. You should get a message like for example a “no enough memory”.

Ok, forgot to look at the Apache error file.
Here’s the output of the first 2 minutes:

[Mon May 05 09:44:12 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Mon May 05 10:36:29 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215
[Mon May 05 10:36:29 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215
[Mon May 05 10:36:29 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892
[Mon May 05 10:36:29 2014] [error] [client 127.0.0.1] File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
[Mon May 05 10:36:29 2014] [error] [client 127.0.0.1] File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] File does not exist: /usr/share/javascript/ckeditor, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] File does not exist: /usr/share/javascript/ckeditor, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(/usr/share/php/adodb/adodb-time.inc.php): failed to open stream: No such file or directory in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening ‘/usr/share/php/adodb/adodb-time.inc.php’ for inclusion (include_path=’/var/www/htdocs’) in /usr/share/dolibarr/htdocs/filefunc.inc.php on line 215, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/
[Mon May 05 10:36:30 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function adodb_strftime() in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 892, referer: http://localhost/dolibarr/

SOLVED!
Man, I spent almost 12hours in front of the bl***y computer!
To make it VERY short:
I had to edit /etc/dolibarr/conf.php
(first, opening a terminal and typing “gksu nautilus” to get rights)
open conf.php with gedit, and editing the path to ADODB.
It stated:
$dolibarr_lib_ADODB_PATH=’/usr/share/php/adodb’;
a search with Nautilus did not show up any php/adodb directories.
So I changed it to what is actually there, in /includes:
$dolibarr_lib_ADODB_PATH=’/usr/share/dolibarr/htdocs/includes/adodbtime’;
which is quite different actually.
What bugs me is, what happened? What was the cause for that?
Anyway, I’m so happy to see my customers, bills and products again! :slight_smile:

Good night!
Jordi

did you upgrade from previous version or a fresh install?

NOT SOLVED :frowning:
I did nothing, it was working fine.
Could a Ubuntu update have caused this?
Or some hacker targeted me? It it weird, because the Handbase database that I use on my Android phone also went corrupt. The file is there, but the program does not open it! I use it to keep track of customers, hours, materials, etc.

Anyway, I can log in and work in Dolibarr again, but when I validate a draft, no invoice number is generated.

It is similar to the proforma problem, where only part of the fields appear.

I tried reinstalling from .deb, but it is not working.

I’ll try to save the database and reinstall from scratch.

Bye,
Jordi

Conf.php is still pointing to wrong file locations.
Only the javascript section is left. The rest works again.
Here’s the error log on login page:
File does not exist: /var/www/usr, referer: http://localhost/dolibarr/
File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
File does not exist: /var/www/usr, referer: http://localhost/dolibarr/
File does not exist: /usr/share/javascript/jquery-ui, referer: http://localhost/dolibarr/
File does not exist: /var/www/usr, referer: http://localhost/dolibarr/

I can’t find a line pointing to this /var/www/usr in the config.php file.
There is also no jquery-ui file or folder in Dolibarr.

I’m lost.
Jordi

WORKING AGAIN.
I finally bit the bullet and reinstalled Dolibarr.
It scared me, although I have several database backups.
First removed it with Software Manager.
Then used Synaptic to completely remove it, including configuration files.
Luckily it lets you choose if the database should be removed, to which I said no.
Reinstalled the .deb file, unticked create database and user, entered the database password, and voilà.
It is working again. :woohoo:

Best regards,
Jordi

it looks like the installation or upgrade process has mistaken your location. :sunglasses: