miniboxer Posted April 2, 2013 Posted April 2, 2013 I got quite a few problems which I imagine that most users might have problems with, and also thought about how people with no understanding how to use a computer would be confused as to why they shouldn't be using solder, so here they are with their solutions: HELP! HOW DO I CHANGE MY DOCUMENT ROOT? If you are asking this, you don't need solder nor want to use it. WHAT DO I CHANGE IN DATABASE.PHP? If you look inside it, you find what at first appears to be an incoherent mess. If you look closer, you will find a list of database systems, and what details that Artisan (the php thing that technic uses for whatever) should use for its databases. Scroll down until you see 'connections' => array( 'sqlite' => array( 'driver' => 'sqlite', 'database' => 'application', 'prefix' => '', ), 'mysql' => array( 'driver' => 'mysql', 'host' => '127.0.0.1, 'database' => 'database', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'prefix' => '', ), 'pgsql' => array( 'driver' => 'pgsql', 'host' => '127.0.0.1', 'database' => 'database', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'prefix' => '', 'schema' => 'public', ), If you are using MySQL (you probably are), the only part you need to worry about is 'mysql' => array( 'driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'database', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'prefix' => '', change it to this: 'mysql' => array( 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'solder', 'username' => 'root', 'password' => '<mysql root password goes here>', 'charset' => 'utf8', 'prefix' => '', (or whatever your desired configuration is) WHEN I TRY TO USE THE ARTISAN COMMAND, IT TELLS ME IT CAN'T FIND 'mssql.so' Install the mssql php module, and enable it in the php.ini WHEN I TRY TO USE THE ARTISAN COMMAND, IT TELLS ME THAT IT CAN'T CONNECT TO DATABASE 'solder/database/xyz' Make a database with the name that it says it can't connect to. IT INSTALLED FINE, BUT NOW WHEN I VISIT WHERE IT INSTALLED WITH A WEB BROWSER, I GET ERRORS WITH MCRYPT/CURL Install the mcrypt/curl module and enable it in php.ini WHEN I TRY TO VALIDATE THE SOLDER URL ON PLATFORM, IT KEEPS SAYING THAT IT IS INVALID. It is http://yourdomain/index.php/api/ NOT: http://yourdomain http://yourdomain/ http://yourdomain/api http://yourdomain/api/ http://yourdomain/index.php http://yourdomain/index.php/ http://yourdomain/index.php/api if the url you are inputting is identical to any of the wrong ones, reformat it like the right one. NOTE TO MODERATORS: Yes, this was just posted in off topic. I am blind and can't read what section I am in before clicking new thread. Please delete, or lock the old one, which I have since edited out.
PenduluM Posted April 2, 2013 Posted April 2, 2013 My solder page is "http://mydomain/solder/public/index.php" but when i try to use "http://mydomain/solder/public/index.php/api/" it tells me, that "There was a problem validating your Solder URL". Also I keep getting some error with "Class SymfonyComponentHttpFoundationCookie does not exist" when I try to get to the Mod Library or to Manage Users...
NightKev Posted April 3, 2013 Posted April 3, 2013 Note: For Dreamhost users, 'host' needs to be whatever the DH panel tells you to use under MySQL Database management, not 'localhost'. Also, using the root user is probably a bad idea (and of course won't be an option on shared hosting). 90% of free web hosting will not work with Solder because they generally place too many restrictions (such as: no MySQL databases, no shell access, etc). If you're making a public modpack, make sure the host you're storing the files on won't care about you using lots of bandwidth.
miniboxer Posted April 3, 2013 Author Posted April 3, 2013 Note: For Dreamhost users, 'host' needs to be whatever the DH panel tells you to use under MySQL Database management, not 'localhost'. Also, using the root user is probably a bad idea (and of course won't be an option on shared hosting). 90% of free web hosting will not work with Solder because they generally place too many restrictions (such as: no MySQL databases, no shell access, etc). If you're making a public modpack, make sure the host you're storing the files on won't care about you using lots of bandwidth. Fixed that, and just to note, this can't be done on many paid web hosts. It requires a lot of access to things you don't normally have access to.
NightKev Posted April 3, 2013 Posted April 3, 2013 Afaik you only need shell access and a MySQL database (well, also PHP 5.3+, if your host has 5.2 or earlier it won't work).
miniboxer Posted April 3, 2013 Author Posted April 3, 2013 Afaik you only need shell access and a MySQL database (well, also PHP 5.3+, if your host has 5.2 or earlier it won't work). If you are experienced, then yes, that is all you need. Having root access would be preferable, but shell access, MySQL, and PHP 5.3+ is really all that is needed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now