PDA

View Full Version : Install.php error!


Battin
04-21-2006, 01:00 PM
When i try to run the Install.php file, i get this error. I am upgrading from Pixelpost 4.3, and i followed the instructions in the readme file!


Warning: main() [function.main]: open_basedir restriction in effect. File(/functions.php) is not within the allowed path(s): (/home/web/web50725:/var/tmp:/usr/local/lib/php) in /usr/home/web/web50725/blog/includes/create_tables.php on line 36

Warning: main(functions.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/web50725/blog/includes/create_tables.php on line 36

Fatal error: main() [function.require]: Failed opening required 'functions.php' (include_path='.:') in /usr/home/web/web50725/blog/includes/create_tables.php on line 36

raminia
04-21-2006, 01:04 PM
* check if you replaced all old files with new ones
* Your hosting provider or system admin may have restrictions on which directories can use "includes."

Run phpinfo.php and do a find on "open_basedir." If the setting is something other than "no value" then you might have to install dotWidget in the directory shown. Check with your hosting provider.

http://www.sixapart.com/movabletype/kb/dynamic/open_basedir_re.html
http://www.dotwidget.com/index.php/112

Battin
04-21-2006, 01:12 PM
it says:

open_basedir /home/web/web50725:/var/tmp:/usr/local/lib/php no value

and yes, i uploaded all the files

does it have anything to do with CHMODDING ?

raminia
04-21-2006, 01:16 PM
I recommend having a backup of the old files in a zip file. then delete the old ones and copy all of the new files with an FTP program.
(simply redo the upgrade).

Battin
04-21-2006, 01:20 PM
ok.. i will try that!

Battin
04-21-2006, 01:41 PM
same problem.. :( :(

http://blog.battin.dk/admin/install.php

Battin
04-21-2006, 01:47 PM
i have been running 1.4x fine for a long time now.. no problems with includes or anything. I dont know what is wrong now?

I tried updating, and i just tried deleting everything and uploading from scratch. But same error!

GeoS
04-21-2006, 02:05 PM
What CHMOD do you have on this critical files (missing from include and this which need to include something)?

PS Are this installations in the same root dir?

Battin
04-21-2006, 02:16 PM
i didnt touch em.. but i CHmodded /images and /thumbnails 777 as written in the readme file.

should i chmod the includes??

i just uploaded the stuff in the same folder ( blog.battin.dk ) as the previous blog. I use the same db_prefix as the old one, so it still remembers my old posts.

blinking8s
04-21-2006, 02:19 PM
no, just chmod images and thumbnails, although with upgrading you dont really need to include them, it wont overwrite anything though

Battin
04-21-2006, 02:44 PM
hmm i have no idea whats wrong.. i might just go back to 1.4x again then..

Battin
04-21-2006, 03:05 PM
i did that already!

folgerj
04-22-2006, 01:38 AM
I tried te upgrade and received this error with IE and Mozilla (after clearing cache and files):
Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/vistapho/public_html/blog/admin/install.php on line 38
Error: Access denied for user: 'root@localhost' (Using password: NO)

I've put my blog back up from my back up so I wasn't killed but I'm thinking it was the XP system and it's unzip didn't unzip all the files completely so I'll unzip them the old fashioned way and try it again...

Also I assume it doesn't matter but the pixelpost.php was badly formatted. It was one long run on sentance and I tried to locate where I needed to put my logon and password. I don't know wether this would affect it or not but the 1.4.3 file was well formed and I had no trouble.

raminia
04-22-2006, 06:13 AM
I tried te upgrade and received this error with IE and Mozilla (after clearing cache and files):
Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/vistapho/public_html/blog/admin/install.php on line 38
Error: Access denied for user: 'root@localhost' (Using password: NO)

I've put my blog back up from my back up so I wasn't killed but I'm thinking it was the XP system and it's unzip didn't unzip all the files completely so I'll unzip them the old fashioned way and try it again...

Also I assume it doesn't matter but the pixelpost.php was badly formatted. It was one long run on sentance and I tried to locate where I needed to put my logon and password. I don't know wether this would affect it or not but the 1.4.3 file was well formed and I had no trouble.
you have trouble editing files I assume.
it's not related to this tread. edit the file correctly. that's the point.
If you don't have a good editor get one. like textpad

Joe[y]
04-22-2006, 09:45 AM
Also I assume it doesn't matter but the pixelpost.php was badly formatted. It was one long run on sentance and I tried to locate where I needed to put my logon and password. I don't know wether this would affect it or not but the 1.4.3 file was well formed and I had no trouble.

your text editor is having troubles. 1.5's file is structure identically.

Gina
04-22-2006, 06:05 PM
I had the same error messages and problem with the pixelpost.php file as folgerj. If I open the file in Notepad, it's a big run on sentence with squares where the carriage returns are. If I open it in Crimson Editor, it looks okay, but still saves as a run on sentence unless I change the file format from Mac to DOS, and remove the trailing spaces through the program. It then saves fine and opens up in Notepad with the correct formatting. I had this same problem in 1.43.

There may be an issue in porting from Mac to Windows?

Battin
04-22-2006, 06:48 PM
i just tried to do a blank install.. i used another database name, and in an empty folder..

http://battin.dk/blog2/admin/install.php

same problem.. :(

GeoS
04-23-2006, 01:19 AM
I see its working right now. Please tell us what was the issue.