Dec 04, 2008, 01:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Read what MODx Developers say: MODx Dev. Blogs
Pages: [1] 2   Go Down
  Print  
Author Topic: 0.9.6 install error: Checking table prefix `modx_`: Failed! - Table prefix is al  (Read 4799 times)
0 Members and 1 Guest are viewing this topic.
Jonas
Jr. Member
*
Posts: 2


« on: Jun 04, 2007, 12:37 PM »

Checking PHP version: OK!
Checking if sessions are properly configured: OK!
Checking if assets/cache directory exists: OK!
Checking if assets/cache directory is writable: OK!
Checking if assets/cache/siteCache.idx.php file is writable: OK!
Checking if assets/cache/sitePublishing.idx.php file is writable: OK!
Checking if assets/images directory exists: OK!
Checking if assets/images directory is writable: OK!
Checking if assets/export directory exists: OK!
Checking if assets/export directory is writable: OK!
Checking if manager/includes/config.inc.php exists and is writable: OK!
Creating connection to the database: OK!

Checking table prefix `modx_`: Failed! - Table prefix is already in use in this database!

It's a fresh install on mt ss hosting.
Tried 0.9.5 a while ago and worked. Wanted to start clean but keep getting that message. The db is clean. No tables or data whatsoever.

Does somebody knows how to solve this?

thanks...
Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 5,055


looking a little more like my avatar again...


WWW
« Reply #1 on: Jun 04, 2007, 12:54 PM »

Probably not without more information about what steps you took and what your environment is... especially with regards to PHP and MySQL versions and configuration
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
ublix
Jr. Member
*
Posts: 24


« Reply #2 on: Jun 12, 2007, 06:38 AM »

Hello,

I have the same problem as above. The environment is:

PHP 4.4.1
mySQL 3.23.58

The reason could be, that the server doesn't have mySQL 4.1.x or higher.
I update the server and post the result in this thread ...
Logged
ublix
Jr. Member
*
Posts: 24


« Reply #3 on: Jun 12, 2007, 08:55 AM »

@Jonas

ok, I've found the reason for the error: In the file "install/action.summary.php" is a bug:

   Line 152

if (@ $rs == mysql_query("SELECT COUNT(*) FROM $dbase.`" . $table_prefix . "site_content`")) {

   should be

if (@ $rs = mysql_query("SELECT COUNT(*) FROM $dbase.`" . $table_prefix . "site_content`")) {

PS: The CMS runs with mySQL 3.23.58, too.
Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 5,055


looking a little more like my avatar again...


WWW
« Reply #4 on: Jun 12, 2007, 09:33 AM »

Nice catch ublix -- this is being committed for 0.9.6.1 release... http://modxcms.com/bugs/task/894
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
fruitwerks
Sr. Member
****
Posts: 333


I have 70 birds, I deal with enough sh.. :)


« Reply #5 on: Aug 14, 2007, 11:39 AM »

I made the changes ... still not working. I'm upgrading because I do not have the Captcha snippet for some reason. So right now I'm in the middle of something and can't get anything done. (yes I have a backup)

PHP 5.2.2-1
Apache 2.0.58-r2
MySQL 5.0.44
Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 5,055


looking a little more like my avatar again...


WWW
« Reply #6 on: Aug 14, 2007, 11:43 AM »

still not working.
More information required.  This post was discussing 0.9.6 new install issues on MySQL 3.23.58, so I don't see anything relevant in this thread that would help diagnose or even provide an intimation of what your issue might be with upgrading on MySQL 5.0.44.
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
fruitwerks
Sr. Member
****
Posts: 333


I have 70 birds, I deal with enough sh.. :)


« Reply #7 on: Aug 14, 2007, 11:54 AM »

gotcha.. well I am experiencing the same exact issue.

trying to upgrade from

MODx version           0.9.5
Version codename         rev 2106

started out with etomite long ago, but never have hit a snag on an upgrade before.

what else do you need to know? Smiley

btw - I just need the vericode / capcha snippet.. know where I can find it?

Thanks
Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 5,055


looking a little more like my avatar again...


WWW
« Reply #8 on: Aug 14, 2007, 12:03 PM »

Still confused.  How can you be having the exact same problem, as again, this problem was with new installations, not upgrades.  The table_prefix will always already be in use on upgrades, but should never exist on new installs.  Are you sure you are running an upgrade and not trying to run a new install with an existing database?
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
fruitwerks
Sr. Member
****
Posts: 333


I have 70 birds, I deal with enough sh.. :)


« Reply #9 on: Aug 14, 2007, 12:16 PM »

... Tried it again. unzipped the source to an empty dir - worked great.
...copied my goodies back over.

All is good... that was a bit odd.

Thanks!
Logged
xefned
Jr. Member
*
Posts: 21


« Reply #10 on: Oct 10, 2007, 06:58 AM »

This is still a problem for me. (Although the original poster found a workaround.)

For a new install, I get the error "Checking table prefix ``: Failed! - Table prefix does not exist in this database!" even though my prefix is null (no characters typed into the prefix field.)

I tried the fix posted above (add = sign to line 152 of action.summary.php.) but I'm still getting the error.

Any other ideas? 
Logged
xefned
Jr. Member
*
Posts: 21


« Reply #11 on: Oct 10, 2007, 07:25 AM »

it may be significant to mention that my database name has an underscore as dictated by my ISP.

for example: database name: bob_cms
Logged
xefned
Jr. Member
*
Posts: 21


« Reply #12 on: Oct 10, 2007, 11:23 AM »

I tried using the New Installation option  rather than Advanced Upgrade Install and it works just fine.
Logged
ralarsen
Jr. Member
*
Posts: 3


« Reply #13 on: Oct 12, 2007, 10:53 AM »

Nice catch ublix -- this is being committed for 0.9.6.1 release... http://modxcms.com/bugs/task/894

Did you see the exact same error in line 161?
I have been messing around the this install for a long time now, and finally found this forum.
I corrected the error in line 152... and it still didn't work.
Then I saw that there was one "=" missing as well in line 161... did you see that?
Logged
sanshin
Jr. Member
*
Posts: 1


« Reply #14 on: Oct 19, 2007, 07:33 AM »

Thanks for your support so far; i too had the table prefix error. However, since i have fixed the error on given line in the settings file; another error occurred. After clicking the -install- button, a new screen appears displaying various tasks . It stops with the reported creation of the database tables, but mySQL doesn't display any tables present in the given db.

any suggestions?
thanks
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!