# Login no images, main menu empty

**URL:** <https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631>\
**Category:** Using my Dolibarr\
**Created:** [May 5, 2014, 10:36am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631 "2014-05-05T10:36:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 5, 2014, 10:36am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/1 "2014-05-05T10:36:13Z")

</div>

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://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://localhost/dolibarr/) [HTTP/1.1 200 OK 47ms]  
GET [http://localhost/javascript/jquery-ui/css/smoothness/jquery-ui.min.css](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://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://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://localhost/dolibarr/theme/eldy/style.css.php) [HTTP/1.0 500 Internal Server Error 37ms]  
GET [http://localhost/javascript/jquery/jquery.min.js](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://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://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://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://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://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://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://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://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://localhost/javascript/ckeditor/ckeditor.js) [HTTP/1.1 404 Not Found 5ms]  
GET [http://localhost/dolibarr/core/js/lib\_head.js](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://localhost/dolibarr/core/js/datepicker.js.php) [HTTP/1.0 500 Internal Server Error 22ms]  
GET [http://localhost/dolibarr/core/js/dst.js](http://localhost/dolibarr/core/js/dst.js) [HTTP/1.1 304 Not Modified 5ms]  
GET [http://localhost/dolibarr/viewimage.php](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://localhost/javascript/jquery-ui/jquery-ui.min.js) [HTTP/1.1 404 Not Found 0ms]  
GET [http://localhost/javascript/ckeditor/ckeditor.js](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://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://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

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [May 5, 2014, 6:23pm UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/2 "2014-05-05T18:23:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 5, 2014, 7:54pm UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/3 "2014-05-05T19:54:53Z")

</div>

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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](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/](http://localhost/dolibarr/)

---

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 5, 2014, 10:07pm UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/4 "2014-05-05T22:07:44Z")

</div>

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! 🙂

Good night!  
Jordi

---

<div class="post-metadata">

**Author:** ![s12321](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@s12321](https://www.dolibarr.org/forum/u/s12321)\
**Post date:** [May 6, 2014, 3:15am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/5 "2014-05-06T03:15:58Z")

</div>

did you upgrade from previous version or a fresh install?

---

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 6, 2014, 5:39am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/6 "2014-05-06T05:39:21Z")

</div>

NOT SOLVED ☹  
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

---

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 6, 2014, 6:16am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/7 "2014-05-06T06:16:15Z")

</div>

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/](http://localhost/dolibarr/)  
File does not exist: /usr/share/javascript/jquery-ui, referer: [http://localhost/dolibarr/](http://localhost/dolibarr/)  
File does not exist: /usr/share/javascript/jquery-ui, referer: [http://localhost/dolibarr/](http://localhost/dolibarr/)  
File does not exist: /var/www/usr, referer: [http://localhost/dolibarr/](http://localhost/dolibarr/)  
File does not exist: /usr/share/javascript/jquery-ui, referer: [http://localhost/dolibarr/](http://localhost/dolibarr/)  
File does not exist: /var/www/usr, referer: [http://localhost/dolibarr/](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

---

<div class="post-metadata">

**Author:** ![JordiC](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/a4c791/32.png) [@JordiC](https://www.dolibarr.org/forum/u/JordiC)\
**Post date:** [May 6, 2014, 6:39am UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/8 "2014-05-06T06:39:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![s12321](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@s12321](https://www.dolibarr.org/forum/u/s12321)\
**Post date:** [May 7, 2014, 2:34pm UTC](https://www.dolibarr.org/forum/t/login-no-images-main-menu-empty/10631/9 "2014-05-07T14:34:44Z")

</div>

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