New to SimpleInvoices, pardon any ignorances, did search quite a bit, but unable to get a new instance fully up...
Win2003, WAMP 2.0, followed all the install steps and tests, all worked fine, including:
-- PDF test (had to tweak error_reporting)
-- http://localhost works fine
-- phpMyAdmin works fine
-- created simple_invoices database fine
-- executed Full_Simple_Invoices.sql fine
-- phpInfo runs fine
However, when I run http://localhost/simplinvoices or even http://localhost/simpleinvoices/index.php, the page is blank.
I'm stuck... help!
Hey JLoftus
have seen blank page issue on a few linux servers - but tried to fix them with the 201.0 release
can you check your php and apache logs for errors - normally these will tell you what the problem is
let me know what you find
Cheers
Justin
Thanks for the quick response!
the apache logs all have 2008 dates, with skeletal data.
I don't see any logs in the php folder tree, there is a logs folder under c:\wamp, with the following:
apache_error.log:
.
.
.
[Wed Jan 06 22:39:26 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jan 06 22:39:26 2010] [notice] Child 4308: Exit event signaled. Child process is ending.
[Wed Jan 06 22:39:27 2010] [notice] Child 4308: Released the start mutex
[Wed Jan 06 22:39:28 2010] [notice] Child 4308: All worker threads have exited.
[Wed Jan 06 22:39:28 2010] [notice] Child 4308: Child process is exiting
[Wed Jan 06 22:39:29 2010] [notice] Parent: Child process exited successfully.
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Wed Jan 06 22:39:29 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Wed Jan 06 22:39:29 2010] [notice] Server built: Dec 10 2008 00:10:06
[Wed Jan 06 22:39:29 2010] [notice] Parent: Created child process 4196
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Wed Jan 06 22:39:29 2010] [notice] Child 4196: Child process is running
[Wed Jan 06 22:39:29 2010] [notice] Child 4196: Acquired the start mutex.
[Wed Jan 06 22:39:29 2010] [notice] Child 4196: Starting 64 worker threads.
[Wed Jan 06 22:39:29 2010] [notice] Child 4196: Starting thread to listen on port 80.
mysql.log:
.
.
.
100106 22:39:30 [Note] Plugin 'FEDERATED' is disabled.
100106 22:39:30 InnoDB: Started; log sequence number 0 259014
100106 22:39:30 [Note] Event Scheduler: Loaded 0 events
100106 22:39:30 [Note] wampmysqld: ready for connections.
Version: '5.1.36-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
and lastly, access.log:
.
.
.
127.0.0.1 - - [06/Jan/2010:22:39:36 -0500] "GET /simpleinvoices/index.php HTTP/1.1" 200 -
127.0.0.1 - - [06/Jan/2010:22:39:53 -0500] "GET /simpleinvoices HTTP/1.1" 301 240
127.0.0.1 - - [06/Jan/2010:22:39:53 -0500] "GET /simpleinvoices/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jan/2010:22:53:41 -0500] "GET /simpleinvoices/fubar.php HTTP/1.1" 404 222
(I entered the fubar.php address just to trigger a 404, shown in the last line above... the 301 and subsequent 200 look fine, eh?)
Thoughts?
sorry nothing helpfully in those logs :( normally there is something useful in the apache error log
anyone else seen or know about this issue ?
cheers
justin
only other thing i can think is to check the file & folder permissions of the Simple Invoices files
can you check then against other PHP apps/scripts you have on your webserver ?
cheers
justin
I_USR_xxx has recursive read/write to C:\wamp\www\simpleinvoices
As far as other php files, for example http://localhost/simpleinvoices/phpinfo.php works fine, as does http://localhost/index.php
Doing a "View Source" on the blank page yields little (as pasted below) so could the php code be bombing out early on? I saw a check for "BROWSE" in the index.php, can you think of anything like this?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
in config/config.ini can you change set error_reporting to E_ALL and reload the index page
let us know if any errors display on screen
cheers
justin
ah..
edit config/config.ini and set database.utf8 = false and retry
cheers
justin
no worries
i'll fix that MYSQL_ATTR error in the next release
cheers
justin
I found this post because I have a similar issue... Although I have not yet been able to actually go through any of the two provided installers (install and install_max), I do too get a blank page when I load the index
I have error_reporting set to E_ALL but the page doesn't show anything
I tried setting utf8 setting to false but the page is still all blank
of course this could be due to the fact that I haven't gone through the installer yet, but I thought I'd get at least SOMETHING, an indication of some kind, since the database exists and is in place with the demo data
I looked at my error log and I see this:
[Wed Jan 20 11:43:42 2010] [warn] mod_fcgid: stderr: thrown in /home/marcurse/public_html/simpleinvoices/library/Zend/Config/Ini.php on line 184
[Wed Jan 20 11:43:42 2010] [warn] mod_fcgid: stderr: #2 /home/marcurse/public_html/simpleinvoices/index.php(26): require_once('/home/marcurse/...')
[Wed Jan 20 11:43:42 2010] [warn] mod_fcgid: stderr: #1 /home/marcurse/public_html/simpleinvoices/include/init.php(93): Zend_Config_Ini->__construct('./config/config...', 'production', true)
[Wed Jan 20 11:43:42 2010] [warn] mod_fcgid: stderr: #0 /home/marcurse/public_html/simpleinvoices/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile('./config/config...')
[Wed Jan 20 11:43:42 2010] [warn] mod_fcgid: stderr: ' in /home/marcurse/public_html/simpleinvoices/library/Zend/Config/Ini.php:184
Does this mean anything to anyone?
I have the same problem but after I followed all that was instructed here it still isn't working. Once I input http://localhost/simpleinvoices its says
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\wamp\www\simpleinvoices\include\class\db.php on line 53
What do I do?
It looks like you're new here. If you want to get involved, click one of these buttons!