1
Krusher
Post installation problem- blank page; open_basedir restriction
  • 2003/10/7 22:38

  • Krusher

  • Just popping in

  • Posts: 6

  • Since: 2003/10/7


After installation, everything is green and ready to go, so I went to the root of my XOOPS installation, and I got a blank page, with the following in the server log file: (edited for privacy reasons)

[Wed Oct 8 00:04:15 2003] [error] PHP Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/php/PEAR/XOOPS_ROOT_PATH/class/xoopsblock.php) is not within the allowed path(s): (/home/httpd/vhosts/mysite.com/httpdocs) in /home/httpd/vhosts/mysite.com/httpdocs/v2/header.php on line 28
[Wed Oct 8 00:04:15 2003] [error] PHP Warning: main(XOOPS_ROOT_PATH/class/xoopsblock.php) [function.main]: failed to create stream: Operation not permitted in /home/httpd/vhosts/mysite.com/httpdocs/v2/header.php on line 28

And the list goes on like that.
I have no clue what's going on there

Mind you, I have no telnet or ssh available since my hoster doesn't allow that.

Is this a permission issue? If so, is there a list available which permissions should be set, directory and file based?

I got it running on my own server, so I decided to give it a try on my hosting provider, obviously without any success sofar. Database seems to be allrighty, so I cannot blame that to be the problem


Additional info:

Directive:Local Value:Master Value
file_uploads:On:On
open_basedir:/home/httpd/vhosts/mysite.com/httpdocs:/tmp:no value

Xoops 2.04
PHP 4.3.1

2
onokazu
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 12:54

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Is the XOOPS_ROOT_PATH constant correctly defined in mainfile.php?

3
Krusher
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 13:33

  • Krusher

  • Just popping in

  • Posts: 6

  • Since: 2003/10/7


This is in my mainfile.php:

define('XOOPS_ROOT_PATH', '/home/httpd/vhosts/mysite.com/httpdocs/v2'

Seems correct to me.

4
onokazu
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 13:40

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Just to confirm, do you have ');' at the end of that line?
It should look like
define('XOOPS_ROOT_PATH', '/home/httpd/vhosts/mysite.com/httpdocs/v2');

5
Krusher
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 13:41

  • Krusher

  • Just popping in

  • Posts: 6

  • Since: 2003/10/7


Problem seems solved now, although I can't get to the Administrator section, it keeps logging me in.

templates_c should be chmod 777 not 666

Ok, I dropped the database and reinstalled it, and it's running now

I should have known better, permissions and all that but alas.


6
The_Rob
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 19:25

  • The_Rob

  • Just popping in

  • Posts: 8

  • Since: 2002/10/21


I can not get to the admin section either - When I log in, there is nothing on the page except a login mod. I have admin rights, thoughts, ideas? There were no issues when I created the database, or install.

7
Krusher
Re: Post installation problem- blank page; open_basedir restriction
  • 2003/10/8 19:48

  • Krusher

  • Just popping in

  • Posts: 6

  • Since: 2003/10/7


What worked for me was dumping the database and reinstalling XOOPS again OVER itself

Then point your browser to http://www.mysite.com/xoops/install/index.php

I got these problems twice on different sites, and in both cases this worked.

Login

Who's Online

394 user(s) are online (276 user(s) are browsing Support Forums)


Members: 0


Guests: 394


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits