View Full Version : Install Sucessful, but...
froggyliver
11-17-2008, 09:22 PM
Ok I created the database and have PHP and all that. I got to the setup page and entered all data, clicked finish and received message that install was sucessful. But when I go to any page including the admin login page they are all blank.
zalez
11-17-2008, 09:45 PM
Turn on error reporting and see if there are any errors. Follow this post: http://www.osticket.com/forums/showpost.php?p=5435&postcount=2
froggyliver
11-17-2008, 11:13 PM
Did as requested. Went to /support and now these errors display:
Warning: main() [function.main]: open_basedir restriction in effect. File(\\b/boswinfs01\home\users\web\b388\ez.www1170\support/include/mysql.php) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\p hp\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\p hp-4.3.10;c:\php5;\\boswinfs01\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//boswinfs01/home/users/web) in \\boswinfs01\home\users\web\b388\ez.www1170\suppor t\main.inc.php on line 82
Warning: main(/boswinfs01\home\users\web\b388\ez.www1170\support/include/mysql.php) [function.main]: failed to open stream: Operation not permitted in \\boswinfs01\home\users\web\b388\ez.www1170\suppor t\main.inc.php on line 82
Warning: main() [function.main]: open_basedir restriction in effect. File(\\b/boswinfs01\home\users\web\b388\ez.www1170\support/include/mysql.php) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\p hp\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\p hp-4.3.10;c:\php5;\\boswinfs01\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//boswinfs01/home/users/web) in \\boswinfs01\home\users\web\b388\ez.www1170\suppor t\main.inc.php on line 82
Warning: main(/boswinfs01\home\users\web\b388\ez.www1170\support/include/mysql.php) [function.main]: failed to open stream: Operation not permitted in \\boswinfs01\home\users\web\b388\ez.www1170\suppor t\main.inc.php on line 82
Fatal error: main() [function.require]: Failed opening required '/boswinfs01\home\users\web\b388\ez.www1170\support/include/mysql.php' (include_path='.;c:\php\includes;\\boswinfs01\home \users\web\b388\ez.www1170\support;/boswinfs01\home\users\web\b388\ez.www1170\support/include/;/boswinfs01\home\users\web\b388\ez.www1170\support/include/pear/') in \\boswinfs01\home\users\web\b388\ez.www1170\suppor t\main.inc.php on line 82
zalez
11-18-2008, 10:43 AM
a couple things could be causing this. Create a new file called safe.php on your webserver:
<?php
// Check for safe mode
if( ini_get('safe_mode') ){
print "PHP is in safe mode";
}
?>
Place the above code in it and then navigate to the file on your web server. Report back if your php installation is in safe mode.
froggyliver
11-18-2008, 08:56 PM
Created the .php file, pasted the requested text into it using notepad, uploaded it to the web server under the same folder as the index.php file. I then browsed to the safe.php file and nothing shows. It is blank.
zalez
11-18-2008, 11:54 PM
I found this after doing a quick google. Sounds like your host needs to do this for you.
Question
When viewing dynamic pages, I see the following error: Warning: main(): open_basedir restriction in effect. File(/full/path/to/cgi-bin/movabletype/php/mt.php) is not within the allowed path(s): (/full/path/to/tmp) in /full/path/to/blog/mtview.php on line 2
Answer
This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your osTicket installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").
The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.
froggyliver
11-19-2008, 12:46 AM
Sounds like a good idea, but I don't really understand whats really going on. When I call my host what should I ask them to do exactly? Or maybe in simple words. Thanks much for the help.
zalez
11-19-2008, 01:35 PM
Have that php error that you posted above handy when doing this:
Your host needs to add your osTicket installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").
froggyliver
11-24-2008, 08:33 PM
That did it! Thanks for the help.
:D
zalez
11-25-2008, 10:03 AM
Glad that worked for you :)