Hi, I have created a custom wordpress softaculous package, but when i try to install the same, i get the error message:
"Only alpha numeric characters are allowed for the Database name."
If i remove the hyphen and run the package it runs fine and sets-up the custom wordpress package correctly.
However when I use the whmcs auto install module, then this creates a
problem, the install does not happen, because of the hyphen being
inserted in the db name.
I can see in the whmcs activity log that the auto install hook is initiated, and whmcs trys to install the custom package and we get the exact same error message as above.
Is there a way by which we can advise softaculous programmatically to not insert that hyphen in the database name.
NOTE: I checked the WP installer in softaculous, if you run the softaculous installer with the standard wp install, then no hyphen is inserted in the db name.
My custom wordpress package is a copy of the wordpress standard installer folder, and all files are same except for the wp.zip and the wp.sql.
However on a custom package hyphen gets inserted into the db name, this
behavior needs to be changed on the softaculous installer.
It seems you have a hyphen in the Softaculous name of your custom script package i.e. :
/var/softaculous/my-package
The database name suggestion is filled in with the Softaculous name of your custom package.
Please try to remove the hyphen from your custom package name also delete the custom package from Softaculous Admin panel -> Software -> Custom Scripts and add it again.