However, when the cron is ran I get the following email...
X-Powered-By: PHP/5.2.1 Content-type: text/html
Warning: include() [function.include]: open_basedir restriction in effect. File(/home/<user>/public_html/includes/common.php) is not within the allowed path(s): (0) in /home/<user>/public_html/live.php on line 7
Warning: include(/home/<user>/public_html/includes/common.php) [function.include]: failed to open stream: Operation not permitted in /home/<user>/public_html/live.php on line 7
Warning: include() [function.include]: Failed opening '/home/<user>/public_html/includes/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<user>/public_html/live.php on line 7 test Notice: Undefined variable: db in /home/<user>/public_html/live.php on line 11
Fatal error: Call to a member function query() on a non-object in /home/<user>/public_html/live.php on line 11
WHM 11.11.0 cPanel 11.15.0-R17665 CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0 Apache version1.3.39 (Unix) PHP version5.2.1 MySQL version4.1.22-standard
(Paths have the correct username, I replaced the usernames with <user>...)
I am running asp.net on my 1and1 "shared" hosting account. I just was told I could not add a simple .mp3 player control because it requires "higher" security. I only have "medium" security. They could only suggest a dedicated server.
Is this going to be normal amongst all asp.net hosting companies? Are most asp controls at the higher security level?
Is there a hosting company that gives this to you as a shared customer?
I am trying to use chdir() in one of my scripts. However, I am getting an open_basedir restriction error. I have checked the php.ini and the value is not set (which as I understand should disable open_basedir).
One of my users...let's call him "fictional" is getting the following error message:
--------- Warning: Unknown(): open_basedir restriction in effect. File(/home/fictional/public_html/blablaja/index.php) is not within the allowed path(s): (/home/hurz/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0 ---------
The strange thing is that the error message refers to another user on my system...named "hurz". Why does it refer to this other username? I looked at the virtual host in httpd.conf for user "fictional" and everything seems alright there:
I'm trying to use server side includes in a PHP website but am getting the error open_basedir restriction in effect.
I've tried going in to the PHP Settings for the website and have selected the predefined option
Which as I understand it should allow access to all files within my httpdocs folder but I still get the error:
PHP Warning: include(): open_basedir restriction in effect. File(/sparklyphp/cms/inc/checkAdminLogin.php) is not within the allowed path(s): (F:PLESKWWWviwebsitedesign.comhttpdocs;C:WindowsTemp) in F:PLESKWWWwebsitedesign.comhttpdocssparklyphpcmsindex.php on line 1
The thing is I know 100% that the file it's having a problem with is in a subfolder of the
F:PLESKWWWwebsitedesign.comhttpdocs folder (the full F:PLESKWWWwebsitedesign.comhttpdocssparklyphpcmsinccheckAdminLogin.php).
I've installed CRE Loaded 6.2 on one of my client accounts and am receiving the following error when trying to edit the language files:
Warning: tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/hsphere/local/home/hrtire:/tmp:/var/tmp:/usr/local/lib/php) in /hsphere/local/home/hrtire/hrtire.net/store/admin/edit_textdata.php on line 151
I've asked for support from my host and they told me that it can be fixed using .htaccess. They said to use:
I was wondering if it were possible to chmod a directory that is set to a low number to 777 using a shell or command and if so can anyone point me in the right direction as to how to go about doing so ??? I am trying to learn a little and i pefer using my browser to edit files rather then a ftp client.
I was just wondering if anyone is aware of Linux VPS or shell account providers with servers that are physically located in Pennsylvania. The only two I've come across so far are Nocster and VPS Village.
One of our customers uploaded C99Shell script on my server, and he can access to another accounts, I upgraded php to 5 but he can access with this script to another accounts yet, what should I do to disable this script or other one?
I've enabled ssh one of my account in WHM, so I went to cpanel of this account and tried the SSH/Shell Access, but what I got is:
For security reasons, shell access is not enabled by default. In order to activate shell access on your account, you will need to fax or mail a copy of your driver's license, passport or other photo id to customer service.
is this something about SSH Key? do I have to generate a key so I can use the SSH/Shell Access?
On a VPS I am using, I was astonished to see that when I login through SSH to a WHM account, I can go right up to the VPS system directories, do an ls, read the files etc. the user is able to get into the all the VPS directories, except root.
It's fine in FTP. Although I can see the link to the directory above home, clicking on it does not take the user to those directories.
When I ask my service provider, they say, "Yes, this is normal behavior. The users will still be able to move into the other users' home directories but they will not be able to write to the files or open them".
It seems to me this isn't a good situation. How can I prevent shell users from going beyond their home directories? Is implementing a jailed shell a good option? Can I use this feature that is readily available in WHM?
I'm trying to install the following portwatch script on my server to count the # of connections coming from various IPs:
I've saved it as a text file called "portwatch", and uploaded to my server. But no matter how I chmod it in FTP and call it in shell, I get a permission denied error. Can someone shed some light on how I'm supposed to run this script in shell?