Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Can't install, get: class.mysql.php errors
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Web site integration
View previous topic :: View next topic  
Author Message
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 1:09 am    Post subject: Can't install, get: class.mysql.php errors Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 2:35 am    Post subject: Reply with quote

Hi,

Please see this: http://www.extrosoft.com/FAQs/Installation/%22Specified_key_was_too_long%22/

Let me know if you have any questions / trouble at all.
Back to top
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 2:54 am    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 3:13 am    Post subject: Reply with quote

Can you e-mail me the source to that page please? ian@extros...
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 3:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 5:54 am    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 3:33 pm    Post subject: Reply with quote

http://www.aop.net/beta/index.php.zip

Here ya go
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 13, 2008 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 5:04 pm    Post subject: Reply with quote

Yay!!! It's fixed!!

Thank You Ian for patiently helping me fix this issue!


Tony Barnhill
Back to top
View user's profile Send private message
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Wed Feb 13, 2008 5:05 pm    Post subject: Reply with quote

If I turn off error reporting in my php.ini file will this accomplish this also?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web site integration All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.