Author |
|
mno2go Newbie
Joined: 22 February 2010
Online Status: Offline Posts: 5
|
Posted: 22 February 2010 at 3:34pm | IP Logged
|
|
|
Hi all,
I'm running only the mysqli extension, and so I've been hacking away at the Lite version chaning all mysql_* calls to mysqli_*. It seems to have gotten to the 3rd page of the install (where I enter the db info). However, at this point, all the options are grayed out. Does anyone know what I missed going from mysql_ to mysqli_ in order to make this page not grayed out?
Cheers,
Max
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 February 2010 at 4:07pm | IP Logged
|
|
|
Rather than running the installation wizard, try configuring the product directly by modifying data/settings/settings.xml file. Note that you'll need to use Database Settings screen anyway to create database tables. Alternately, you can put another copy of WebMail Lite on a different machine with MySQL available there, run the installer, have database tables created and copy the database data & structure.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 February 2010 at 4:09pm | IP Logged
|
|
|
To answer the original question itself: before displaying Database Settings screen, WebMail runs a check of what DB extensions are present. Might need to modify/remove that check.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mno2go Newbie
Joined: 22 February 2010
Online Status: Offline Posts: 5
|
Posted: 22 February 2010 at 5:40pm | IP Logged
|
|
|
Hi Igor,
Thank you for the quick response.
Where does the check occur? I can't seem to locate it in the code (yet).
Thank you,
Max
|
Back to Top |
|
|
mno2go Newbie
Joined: 22 February 2010
Online Status: Offline Posts: 5
|
Posted: 22 February 2010 at 5:52pm | IP Logged
|
|
|
Found it:
./adminpanel/plugins/webmail/plugin.php
Now the db setup screen is not grayed out.
I will post a patch here later for those interested to move from mysql to mysqli.
Cheers,
Max
|
Back to Top |
|
|
mno2go Newbie
Joined: 22 February 2010
Online Status: Offline Posts: 5
|
Posted: 22 February 2010 at 10:15pm | IP Logged
|
|
|
Ok, I got through that error, but now for some reason am stuck at the create table code. It seems to hang for ever and ever, previously giving me an error on line 1163 of adminpanel/plugins/webmail/common/db/dbstorage.php -- seems that the GetNextArrayRecord function returned null which was not expected by the code.
I added a work-arond to check for null, and now there is no more error, but the code still takes forever to execute.
Any suggestions where to look?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 February 2010 at 5:15am | IP Logged
|
|
|
I hope you understand that we just can't provide support for modified versions of our products, especially when it's about modifying database access methods. Different methods may cause different changes as to data exchange, including even SQL queries' syntax.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mno2go Newbie
Joined: 22 February 2010
Online Status: Offline Posts: 5
|
Posted: 03 March 2010 at 10:33am | IP Logged
|
|
|
I was thinking you'd be interested to support mysqli. I guess not.
|
Back to Top |
|
|