I have installed zclass and I can create and ad but I can't create and ad with a photo. I get this error:
Quote:
Warning: copy(): open_basedir restriction in effect. File(/12.jpg) is not within the allowed path(s): ('.:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in /nfs/home/orient4/public_html/clubsciontc/modules/ZClassifieds/list.php on line 73
Warning: copy(/12.jpg): failed to open stream: Operation not permitted in /nfs/home/orient4/public_html/clubsciontc/modules/ZClassifieds/list.php on line 73
Error: Er is helaas iets fout gegaan met het uploaden van newphoto =
i = 1
naar /12.jpg
This is my vars.php file:
Quote:
<?php
/************************************************************************/
/* PHP-NUKE: ZClassifieds */
/* ================================ */
/* Version 1.1 */
/* Bug Fixes and PHPNuke 6.9 changes by */
/* Oliver Ratzeburg */
/* webmaster@comicfan.de */
/* http://www.comicfan.de */
/* */
/* Copyright (c) 2002 by NISE */
/* http://www.kicken.nu */
/* webmaster@kicken.nu */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation */
/************************************************************************/
/* GENERAL CONFIGURATION */
define(_ZCLASSIFIEDSVERSION,"1.3 Beta");
$NUMBER_PICS=5;
$ADVT_NAME = "clubsciontc.com Classifieds "; // Advertisement name
$ADVT_URL = "http://www.clubsciontc.com"; // Advertisement folder URL, no trailing slash
$IMAGE_URL = "images/ZClassifieds/uploads"; // No trailing slash
$IMAGE_DIR = "nfs/home/orient4/public_html/clubsciontc/images/ZClassifieds/uploads"; // Image upload directory, no trailing slash
$GDLIBRARY2 = 0; // If you have Version 2 of GD Library installed set value to 1
$newWidth = 120; // In case of GD Version 2 you can here decide the width of the thumbnail;
// A folder named '$IMAGE_DIR' in this case is 'image'
// and a sub-folder named 'thumb' must be created.
// Their permission is 777.
$BADWORD = "[censuur]"; // Replace badwords with this.
/* ADMIN CONFIGURATION */
$ADMIN_EMAIL = "webmaster@clubsciontc.COM; // Admin's email
$ADMIN_NAME = "Administrator"; // Name in the e-mail
?>
Also I get this error on top of my page in the zclass module:
Quote:
Parse error: parse error in /nfs/home/orient4/public_html/clubsciontc/modules/ZClassifieds/vars.php on line 37
Line 37 is the image directory. What am I doing wrong?
I get a blank gif in my admin panel for the zclassified icon. I also get an open_basedir error since its not installed into the root directory of my domain. Jeeze! I give up.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum