File access disabled...?


#1

Hello! I’m a new DreamHost customer. I’m in the process of uploading my files and I took a look at my page… it gave me this error:

Warning: main(): URL file-access is disabled in the server configuration in /home/.keerokee/eeveechan/eeveeshq.com/webfiles/errorreport.php on line 1

I don’t understand. You can see the problem live at http://www.eeveeshq.com/index.php

Thanks!
Katie


#2

Search this forum and the wiki (wiki.dreamhost.com). This has been answered to many times to count.

–Matttail
art.googlies.net - personal website


#3

Is this a script that you had up and running at another host–probably one that had CPanel?

If you’re trying to open a file on a remote server, you’ll probably want to take a look at this cURL article in the wiki.

If you’re trying to open one of your own files, but you’re doing something like include(‘http://www…/file.php’), you’ll want to change it to include(’/local/server/path/file.php’) instead.

See this article.

DH doesn’t have the /public_html/ path, so you’ll also need to update that where ever it’s entered in the code.

You can also leave out the .keerokee part of the Dreamhost path.

If your script has a config file, or a section where you entered path info at some point, I’d start by going back through there and make sure it matches up with the Dreamhost path: /home/eeveechan/eeveeshq.com/


:stuck_out_tongue: Save up to $96 at Dreamhost with 96DOLLARSOFF promo code (I get $1).
Or save $97 with TAKESEILERSCASH.


#4

Thanks, I figured it out - when I switched to DreamHost, Dreamweaver annoyingly updaed all my links.