PDA

View Full Version : New Control Panel/Server Upgrades Question


clanripz
08-28-2006, 02:51 PM
The following changes were made to the control panel today.

* File size limit increased to 2MB.
* PHP uploads enabled (max 100KB per file).
* CHMOD function enabled.
* Plus (+) character now allowed in filenames.
* Zlib PHP Module Installed
* GD2 PHP Module Installed

Does PHP uploads enabled mean users can upload images to a forum for avatars?

UnlimitedMB
08-28-2006, 05:09 PM
Yes thats what its for.

clanripz
08-28-2006, 06:01 PM
any reason whhy i keep getting this message when i try to upload something Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp/phpZaa3mS) is not within the allowed path(s): (/hosted/subs/ulmb.com/t/e/testripz/public_html) in /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/usercp_avatar.php on line 192

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/usercp_avatar.php:192) in /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/usercp_avatar.php:192) in /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/usercp_avatar.php:192) in /hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/includes/page_header.php on line 486

Tyler
08-28-2006, 07:14 PM
open_basedir restriction in effect. File(/var/tmp/phpZaa3mS) is not within the allowed path(s): (/hosted/subs/ulmb.com/t/e/testripz/public_html) in

Your trying to write to a system folder, you need to specify the full path to the folder you want to write to, and it must be in your directory.

clanripz
08-28-2006, 07:25 PM
i see how exactly would i do that with phpbb

Tyler
08-29-2006, 12:58 AM
In the setup area or admin area change your default settings.

UnlimitedMB
08-29-2006, 01:58 AM
You need to set the upload folder to a directory inside your account, not /var/tmp

clanripz
08-29-2006, 06:31 PM
hmm maybe it the upload script for phpbb cause my avatar setting look like this

Enable gallery avatars no
Enable remote avatars no
Avatars linked to from another website No
Enable avatar uploading Yes
Maximum Avatar File Size 90144 Bytes
Maximum Avatar Dimensions (80 x 80 pixels)
Avatar Storage Path images/avatars
Path under your phpBB root dir,
Avatar Gallery Path images/avatars/gallery
Path under your phpBB root dir for pre-loaded images,

Tyler
08-29-2006, 06:40 PM
if your using the sub domain testripz.ulmb.com use this:

Change the avatar storage path to
/hosted/subs/ulmb.com/t/e/testripz/public_html/phpBB2/images/avatars

Otherwise change it to your full path.

clanripz
08-29-2006, 07:21 PM
Well when i do that and change the directory it removes the upload option browse or input path bar.