intermittent database connection on menu
I sometimes getting connected and sometimes not getting connected. Please see this link. index.php
Please advise what you need to review and I will give a screen shot or upload the files.
Thx in advance.
It seems that the first time i visit your page, there is not connection to your database.
The first thing i would like to try is re-include the connection file in your menu.php. At the top of your menu.php file, place this line under the <?php tag:
It is not only the home page that is not connecting..all of the top menu doesn't always connect. You have to do a few times, stop and go back again to see what I am talking about. Sometimes the home page does connect. The connection file is located in the divastore/Connections/localhost.php
So why would the menu for the admin always work, and the products always show up?
I do not get the error on my remote host..everything works great! Could it be a php problem on this server? I am not sure if its using php5 or 4.
I'm just throwing stuff out there..:)
Warning: require_once(../../Connections/localhost.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/99/4788899/html/divastore/CSSMenuWriter/cssmw_home/menu.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '../../Connections/localhost.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/99/4788899/html/divastore/CSSMenuWriter/cssmw_home/menu.php on line 2
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.