About This Ticket

Cant create new site

by paris_a / December 15, 2014, 10:10 am

I get the foillowing error when trying to create a new site:

"The site you're trying to load does not exist."

 

 

 

Staff

Ouch! Seems something is going wrong there :)

Could you shoot me an email at [email protected] (with the ticket ID in the subject line please) and provide the following details:

1. application URL and user/pass
2. cpanel / plesk access
3. FTP access

Thanks!

 

Im running it locally on a mac with osx Yosemite/Apache/MySQL 

Server version: 5.6.21 MySQL Community Server (GPL)

---

I added an alert to the createnew() function in the sitemodel.php file and its always returning 0 as the newsiteid.

//create empty index page
        echo "<script type='text/javascript'>alert('$newSiteID');</script>";
        return $newSiteID;

Not sure why this is happening, any ideas?
         

Staff

Did the installation go ok? Can you check your database and make sure all the tables are there? (you can find the original database in /install/assets/install.sql).

Yeah all good now....I fixed it by adding default values to some of the fields.