View Full Version : Can't Setup 1.5RC
MichaelChristopher
18th of February 2005 (Fri), 08:56
I've read pages and pages of the forum, including "Setup...blank page," but setup.php to open properly on my testing server. :( What am I doing wrong (Apache/MySQL/PHP newbie)? Here's my system:
Windows XP Home sp2 running Apache 2 in c:\Program Files\Apache Group\Apache2\
Server root (localhost) at c:\Program Files\Apache Group\Apache2\htdocs\
EE saved to c:\Program Files\Apache Group\Apache2\htdocs\AlliejDotCom\gallery\
connect.php and prefs variables set to localhost, alliej1, root, [password]
MySQL 4.1.10 running in c:\MySQL
- Database at c:\MySQL\data\alliej1:confused:
PHP 5.0.3
Thanks for this incredible program and the help you give so generously in this forum.
Pekka
18th of February 2005 (Fri), 12:42
In your input folder open EDITOR_info.php into your www browser. Do you see a page? Do you see there that MySQL is installed in PHP?
MichaelChristopher
21st of February 2005 (Mon), 08:34
Yes, the file EDITOR_Info.php opens and displays the system settings/status.
Pekka
21st of February 2005 (Mon), 08:40
Does it say MySQL is installed in PHP?
MichaelChristopher
21st of February 2005 (Mon), 08:50
Can't find any reference to MySQL on the page.
Pekka
21st of February 2005 (Mon), 08:55
OK, then you must get PHP to use MySQL before you can use EE. Usually in Windows this is done by copying php_mysql.dll windows folder and libmysql.dll to windows\system32 folder. The uncomment in php.ini the line
extension=php_mysql.dll
and restart Apache.
MichaelChristopher
21st of February 2005 (Mon), 09:27
Well, that made a step of progress... The installer page opens, saying it will install to database 'alliej'... correct so far. I hit the 'proceed with installation' button and nothing happens (apparently).
Possibly important side note: Any time I open a php page I have to do it from within Dreamweaver (Preview Page in Browser), because when I try to open from IE directly, it instead opens Dreamweaver and the page opens in design mode.
Also, each time an EE php page opens, it recreates its directory structure from localhost down. For instance:
original position of EDITOR_info file:
C:\Program Files\Apache Group\Apache2\htdocs\AlliejDotCom\gallery\input\ED ITOR_info.php
position after opening it:
C:\Program Files\Apache Group\Apache2\htdocs\AlliejDotCom\gallery\AlliejDo tCom\gallery\input\EDITOR_info.php
Does this mean there's something wrong with my site setup?
Pekka
21st of February 2005 (Mon), 10:05
Apparently :)
EE installer does not create any directories. You should run it by http://127.0.0.1/path/to/rc4_installers/full_15rc4.php and not open it into any editor.
MichaelChristopher
21st of February 2005 (Mon), 10:27
Thanks for your time in getting me going. I hate to keep you, so I'll spend some time rechecking my site setup. I just now tried running the install page from the internal IP. The page opened, but when I hit the proceed button, after a quick flash of the progress meter, nothing else happened. So I tried opening index.php and got the message:
INSTALL ERROR: DEFAULT LANGUAGE 'eng' NOT AVAILABLE
Don't know what that means, but I'll search around for awhile.
Pekka
21st of February 2005 (Mon), 10:35
You will need to have the installer complete and say OK. If that is not done you will get various error messages in every EE page - there is no other fix than get the installer through. If you have the server connected to internet I can check it out if you PM me ftp info to EE folder and URL to access EE.
MichaelChristopher
4th of March 2005 (Fri), 11:20
:o Sorry about the hiatus, but I had to move over to some other work for awhile. I'm back on this now in a serious way. Still can't get the EE full installer to run when I hit the install button. nothing happens--no error message, just a quick little progress bar in the browser, the page doesn't change. Unfortunately my testing site isn't available via the internet, but maybe you would be willing to walk me through checking out the problem?
I'm so grateful for your help! -Michael
MichaelChristopher
4th of March 2005 (Fri), 14:56
I think mysql and php are running properly, as the following script works fine:
<?php
$host="localhost";
$username="root"; // my mysql user name
$password="notreallythis"; // my mysql password
$db=@mysql_connect($host,$username,$password);
if (!$db)
{
echo "Password , username or host is wrong";
}
else
{
echo "PHP and mysql work";
}
?>
I've doublechecked the connect.php settings.
Pekka
4th of March 2005 (Fri), 15:51
Try these first:
1. In full_15rc4.php (that is what you run, right?)
replace
include ("toroot.php");
with
error_reporting(255);
include ("toroot.php");
When you run the installer do you see now any error messages?
2. Open "SCRIPT_slashwork.php" in browser. Do you see any error messages?
3. check that in php.ini you have
memory_limit = 8M
(or more, e.g. memory_limit = 32M)
MichaelChristopher
4th of March 2005 (Fri), 16:49
I inserted the new code in full_15rc.php and ran it, hit the button with the same result as before, no error messages. Still searching for SCRIPT_slashwork.php file---will run when i find where it's located. The memory_limit is set to 8m.
Pekka
4th of March 2005 (Fri), 16:56
Oh, in RC4 it is "slashwork.php".
One thing you could check is that your database for EE has proper user permissions to create tables, read and write to them etc.
It is very hard to find any solutions if there are no error messages. Usually in these cases to find a pitfall in put the error_reporting(255); to every include file called - if that does not reveal anything I start adding a line "exit;" downwards after each function and line until I find what causes the blank effect.
MichaelChristopher
4th of March 2005 (Fri), 17:19
Slashwork.php runs totally blank. I will now start working through the troubleshooting methods you suggested. Thanks for the help---and moral support!
MichaelChristopher
5th of March 2005 (Sat), 11:28
:o Can't figure out how ANYTHING worked, but I had the ServerName in the apache httpd.conf file set to localhost instead of localhost:80, which seemed to solve the problem. I got a page full of OKs! Moving on now to test the sample EE files. THANK YOU SO MUCH!:)
Pekka
5th of March 2005 (Sat), 16:27
Good to hear! Let me know if you have any more troubles :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.