| View previous topic :: View next topic |
| Author |
Message |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 1:09 am Post subject: Can't install, get: class.mysql.php errors |
|
|
On step two of the install process, I get errors about the tables not being created. But the Mysql "test" passes just fine. I've tried with mysql 4 and 5 but get the same issue.
"The specified key was too long"
What should I do? I'm a paying customer. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 2:54 am Post subject: |
|
|
ok, got that straigtened out and got it installed.
my very first attempt is to generate a mini calendar and put it into my design. But here is what I get:
http://www.aop.net/beta/index.php
Please help!!
Tony |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 3:03 am Post subject: |
|
|
Eeek. PHP is running with full error reporting turned on. Please add this before the calendar code:
| Code: |
| error_reporting(E_ALL & ~E_NOTICE); |
|
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 3:06 am Post subject: |
|
|
ok, I added that to line one in my php file within php tags and I get the same thing
any advice? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 3:13 am Post subject: |
|
|
| Can you e-mail me the source to that page please? ian@extros... |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 3:20 am Post subject: |
|
|
Before you do that actually.. add this:
| Code: |
| error_reporting(E_ALL & ~E_NOTICE); |
just after this line:
| Code: |
| require_once(_CAL_BASE_PATH_ . "include/classes/class.calendar.php"); |
and see if it goes away |
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 4:34 am Post subject: |
|
|
Hi,
Thanks for your help. I'm still having the same issues.
The page I'm trying to test is /beta from the root and the calendar is in the /calendar from the root. Could this have something to do with it?
Here is the code for the path:
| Code: |
# base path of thyme with trailing slash
define("_CAL_BASE_PATH_", "/home/content/a/o/p/aopmarcus/html/calendar/");
require_once(_CAL_BASE_PATH_ . "include/classes/class.calendar.php");
error_reporting(E_ALL & ~E_NOTICE); |
|
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 4:39 am Post subject: |
|
|
Hi,
No, that's not it. The messages you are seeing are just Notices - info printed by PHP used for debugging scripts. They should not be displayed and are not indicative of an error. It's just that *something* is telling PHP to display them. Could you go ahead and e-mail me the entire source of that page please? |
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 5:54 am Post subject: |
|
|
Here is my entire (or rather the client's) php.ini file:
| Code: |
register_globals = on
allow_url_fopen = off
magic_quotes_gpc = 1
magic_quotes_runtime = 0
file_uploads = 1
session.auto_start = 0
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.7
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.7
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so |
|
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 2:18 pm Post subject: |
|
|
| Sorry for any confusion, I was referring to the index.php page here: http://www.aop.net/beta/index.php . Can you send me that php file please? |
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Feb 13, 2008 4:05 pm Post subject: |
|
|
Thank you. Can you place this:
| Code: |
| error_reporting(E_ALL ^ E_NOTICE); |
just before this:
| Code: |
| $cal->display_month_mini(); |
in that file please? |
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 5:04 pm Post subject: |
|
|
Yay!!! It's fixed!!
Thank You Ian for patiently helping me fix this issue!
Tony Barnhill |
|
| Back to top |
|
 |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Wed Feb 13, 2008 5:05 pm Post subject: |
|
|
| If I turn off error reporting in my php.ini file will this accomplish this also? |
|
| Back to top |
|
 |
|