Log in

View Full Version : Install page not working ?


cabjixx
04-27-2009, 06:28 PM
I uploaded the files, and started to create the database (there's also an extra table not pertaining to the adoptables system in there).
When I go to the install page, I get:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


What could be causing this ?

Also, when I add the adopts_adoptables table, the MySql doesn't allow it...?

BMR777
04-27-2009, 06:46 PM
The Internal Server Error may be caused by the .htaccess file. Make sure the file is either not on your server or is named htaccess.txt and not .htaccess.

Also, what do you mean MySQL doesn't allow it? You get an error?

cabjixx
04-27-2009, 07:47 PM
Okay, I'll see what I can do with the htaccess file.

And the error is:



MySQL said: Documentation
#1103 - Incorrect table name 'adopts_adoptables '
[hr]
Changed the .htaccess file, so now I'm able to start the process. However, now I get the following warnings:


FAIL: Your inc/config.php file is not writable. Please CHMOD config.php so that it is writable.


WARNING: Your picuploads/gif directory is not writable. Please CHMOD the directory so that it is writable if you wish to be able to upload images from your ACP.


WARNING: Your picuploads/jpg directory is not writable. Please CHMOD the directory so that it is writable if you wish to be able to upload images from your ACP.


PASS: Your server supports the GD image libraries and can handle fancy signature images..


How do I CHMOD in File Manager ? I have Mozilla Firefox with FireTT (or whatever it's called), but for some reason I have no idea how to make it work?

Bloodrun
04-27-2009, 08:15 PM
To CHMOD select the file(s) you want to CHMOD, it will take you to a page, and make sure each one is:
777

cabjixx
04-28-2009, 02:33 PM
The only way to select a file is to check the box next to it, but even then (in FTPmanager), there's no option to CHMOD it. I opened FireFTP and uploaded the files, but again, it doesn't have anywhere to edit the CHMODs (unless I'm missing something...?)

Thanks for your help, btw :)

gjac1
04-28-2009, 02:39 PM
right click on the files you want to edit, and CHMOD will be an option....tick all the boxes and that will change them to 777

cabjixx
04-28-2009, 03:20 PM
I can't right click on them, considering they're not links:

http://i40.tinypic.com/2mg2vbd.png

When I rightclick on FireFTP, the choice to CHMOD isn't shown:

http://i44.tinypic.com/21o37sx.png

BMR777
04-28-2009, 03:43 PM
Click on properties, then in there somewhere there should be some checkboxes for file permissions you should select. :)

cabjixx
04-28-2009, 04:28 PM
http://i44.tinypic.com/23s7z12.png

Do I check the 'read-only' box as shown ? Or am I missing something ?

There's also 'Properties (incl. contents) under the right-click menu, but it's not selectable.

BMR777
04-28-2009, 04:32 PM
You need to click on the Properties option for the file on your server, not on your computer. I think files on your computer are on the left and ones on the server are on the right. :)

cabjixx
04-28-2009, 04:44 PM
http://i43.tinypic.com/207vsiv.png

If I fill in the information in that dialog, it should connect me to the server, which will then import all my files into FireFTP, where I should be able to CHMOD the necessary files, correct ?

Also, I still haven't managed to be able to add the adopts_adoptables table, but the rest of the tables are set up & ready to go.[hr]
Alright, I CHMODed the necessary files (I think I did...):

http://i44.tinypic.com/2qvuwbo.png

Yet, I'm still getting those errors. When I CHMOD it with my FTPclient, are the files changed automatically or is there something I need to click to save the changes...?

BMR777
04-28-2009, 05:00 PM
That looks correct, either 0777 or 777. Make sure to click OK and then refresh the installer page once you've CHMODDED.

Once you fill in the info you can transfer the files to your server using the FTP program. :)

cabjixx
04-28-2009, 05:21 PM
http://i39.tinypic.com/o8ghgk.png

It looks like the permissions are right, but I'm still getting the same errors...? I refreshed the server, and clicked 'Change' next to my host, yet still no difference.

Also, I haven't been able to add the adopts_adoptables table, either sofar.

BMR777
04-28-2009, 05:37 PM
You add the database tables using the installer. :)

Does your host have PHP's safe mode enabled by chance?

cabjixx
04-28-2009, 05:45 PM
I use PHPMyAdmin to add the database tables...is that the same thing or no ?

And as far as I know, PHP safe mode is not enabled. I can't even find the place to enable/disable it for that matter. :)

BMR777
04-28-2009, 05:59 PM
I use PHPMyAdmin to add the database tables...is that the same thing or no ?

And as far as I know, PHP safe mode is not enabled. I can't even find the place to enable/disable it for that matter. :)


You shouldn't have to manually add the tables. The installer will do that. :)

Did you upload the files to the right place? What is the link to your installer?

cabjixx
04-28-2009, 06:04 PM
They're under the same server.

The installer can be found at:

http://acanthaer.leadhoster.com/index.php

BMR777
04-28-2009, 07:53 PM
Why is your installer at http://acanthaer.leadhoster.com/index.php ???

It should be at: http://acanthaer.leadhoster.com/install/index.php

Keep the files in the install folder, don't move them to the site index. :)

Also, those forced ads on your account will interfere with parts of the script. :(

cabjixx
04-29-2009, 06:21 AM
Alright, I'll fix those files & see what it does.

cabjixx
04-29-2009, 02:50 PM
Alright, I fixed those problems, got past that part of the installation, but now I get:


Warning: mysql_connect(): Can't connect to MySQL server on 'http' (4) in /home/www/acanthaer.leadhoster.com/inc/functions.php on line 13
Error connecting to MySQL


On line 13 of inc/functions.php is:

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to MySQL');

BMR777
04-29-2009, 04:59 PM
You probably entered in the wrong database details when installing the script. Please re-install and make sure that your database details are correct.

It may also be a host issue as that error can sometimes mean that the SQL server is down on your host, so if the installer completed successfully with the database details you gave it then it may be the MySQL server is down. If you have CPanel you can go into your CPanel and view the Service Status or System Status link (something like that) and it should tell you if MySQL is up or down. If it's down, that's the issue.

cabjixx
04-29-2009, 05:55 PM
The database is up, I re-entered different details which I'm pretty sure are correct (I was using the wrong host/server), but now I'm getting this problem:


Warning: mysql_connect(): Access denied for user '248513_mygame'@'82.197.130.133' (using password: YES) in /home/www/acanthaer.leadhoster.com/inc/functions.php on line 13

BMR777
04-29-2009, 05:56 PM
That error means the details were incorrect. :(

It's attempting to connect but something is incorrect in the info you entered.

cabjixx
04-29-2009, 06:39 PM
Alright, that'll help :D

Haha, thankss.[hr]
Good news ! I figured it out, and I have it working. It says,




4. You MUST delete the install directory for security
. You wouldn't want someone installing over your site, now would you?


Before I do something I may regret, let me just be clear:

I delete the WHOLE file, 'install', & all the components in it ? That won't affect the site?

And thanks so much for all your support :)