Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : ERROR: Could not determine the database prefix when staging from an existing WP install



Threaded Mode | Print  

 ERROR: Could not determine the database prefix when staging from an existing WP install (10 Replies, Read 202774 times)
kibarra
Group: Member
Post Group: Newbie
Posts: 1
Status:
I have Softaculous 5.6.4. I use  WordPress 5.6. I tried staging and cloning an existing install but I get the following error "Could not determine the database prefix". Couldn't find any recent posts about this topic. Any help will be appreciated.
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5809
Status:
Hi,

Sorry for the delay in response.

I see that you had created a ticket with us. Here are the details from the ticket :
You are using WordPress setup where the wp-config.php file is one level about the WordPress installation directory causing this issue.

This structure is not supported at the moment in Softaculous. We will make changes in Softaculous to support this structure soon.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
kmeyer9999
Group: Member
Post Group: Newbie
Posts: 1
Status:
You also get this error if you run out of disk space!
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5809
Status:
Quote From : kmeyer9999 March 19, 2021, 10:49 pm
You also get this error if you run out of disk space!

Thank you for sharing!


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
SCJohnL
Group: Member
Post Group: Newbie
Posts: 1
Status:
I had the same problem when trying to set up staging using WordPress Manager but when I, instead, went to All Installations tab from the menu, the error did not return. I was able to make multiple staging so I can compare 3 different Themes.
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5809
Status:
Quote From : SCJohnL April 14, 2022, 9:42 pm
I had the same problem when trying to set up staging using WordPress Manager but when I, instead, went to All Installations tab from the menu, the error did not return. I was able to make multiple staging so I can compare 3 different Themes.

This is strange. We will try to replicate this issue on our test servers.


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
wdburgdorf
Group: Member
Post Group: Newbie
Posts: 8
Status:
Same issue. But neither do I have wp-config.php in a special location, nor does it matter how I get to the staging page. It always fails because of the prefix. It is a good hoster, everything up to date, I believe.
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5809
Status:
Hi,

Can you please go to the Edit Installation page of your source site and check if the path stored in Softaculous is correct ?
https://www.softaculous.com/docs/enduser/how-to-edit-an-installation/

If it is not correct please change it and save the details and then try to create a staging instance.

If you still face the issue please open a support ticket with us so we can check this for you :
https://softaculous.deskuss.com/open.php

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
RtheCompany
Group: NOC
Post Group: Newbie
Posts: 2
Status:
Oh my. Is this still not fixed.
Just tried creating a staged site, for the first time in a Long time, and ran into this error still.

It's recommended practice to move the wp-config file 1 dir up ..

Any ETA?
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
softxenova
Group: Member
Post Group: Newbie
Posts: 1
Status:
Quote From : RtheCompany May 6, 2025, 2:55 pm
Oh my. Is this still not fixed.
Just tried creating a staged site, for the first time in a Long time, and ran into this error still.

It's recommended practice to move the wp-config file 1 dir up ..

Any ETA?


Can anyone provide some insight on this? I'm interested because I've encountered similar situations. If anyone has a solution or suggestions, please let me know. Thank you..

-----------------------
"Learning everytime."
IP: --   

ERROR: Could not determine the database prefix when staging from an existing WP install
RtheCompany
Group: NOC
Post Group: Newbie
Posts: 2
Status:
Hey @softxenova

There is an easy fix, move the wp-config file to the main wp directory, do the staging and move it back ...
but we shouldn't have to ;-)
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 3, 2025, 3:54 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.012