dot
Manual:
Read me
Install
Upgrading
Know Bugs
Customize
Templates

Links:
Belchior Foundry
Support Forum

Resources:
PHP
MySQL

vCard Lite
 

No copy! Verify permission of your uploaded !
Well if you set correct permission (chmod 777) and continue receiving this
error then you have a problem with PHP server configuration. It's not an error
of vCard Lite. Sorry!

I tested vCard Lite in NEXEN.net (trial) and Datablocks.net (free) and receive this
error from them.
But in a paid web hosting I didn't receive this error. Hmmm I suspect that the
problem is from them because "it's free" and don't allow use all feature of PHP.

Example:
Nexen.net disable mail function in trial test.

The copy function is really powerful command soo it's no surprise that it's disabled.
The "SAFE MODE" it's enabled by system administrator.

In your admin center see "PHP Info" and looking for "safe_mode". It's "ON"

ISP useally set in PHP configuration (SAFE MODE) to NOT allow function which could possibly be a security risk.

To server with PHP 3
Soo you will need DISABLE this feature at your config.inc file IF YOU USE vCard Lite under PHP 3.

More info:
http://www.php.net/manual/phpfi2.html#safemode

To server with PHP 4 or greater
BUT if you use PHP 4 or greater you steal can use upload feature. Go to your config.inc.php file and looking for:

$safeupload ="0";// IF you want run vCard Lite in a server with PHP 3 you need safe mode=OFF
		//   without safe mode disabled in PHP 3 the upload feature wonīt work.
		// If you run in a server with PHP 4 with Safe mode= ON you donīt need
		//   worry about active safe mode. Just set safeupload = "1" and
		//   upload feature will work fine.

Cookie feature don't work. The auto fill of recipient's name/email and
your name/email don't work after recipients retrieved postcard and try create
a new postcard!
- Other problem with virtual server is that some URL are change from
http://WWW.domain.com to http://domain.com without you asking. Soo
you need make sure that The BASE URL of pickup page is the same of
creation page to make cookie work.

Example : If you pickup URL is:
http://www.domain.com/vCardLite/pickup.php?MessageID=123456

your creation page MUST be
http://www.domain.com/vCardLite/create.php?f=xxx.jpg

if you creation URL was

http://domain.com/vCardLite/create.php?f=xxx.jpg
"withou www" the cookie system wont work!

Warning: Cannot add header information - headers already sent by
- Other possible problem is inclusion of SPACE, ENTER (new line), or
other output information before cookie is send.

Any character included before <?php and after ?> in these files:
- config.inc.php
- functions.inc.php
- language.lang.inc.php

will return this kindy of error. Pay attention!

can't delete old postcards image/flash files from UPLOADED directory
- vCard Lite use unlike() command to delete old postcard that has been
uploaded to webserver when you use admin center to delete old cards
from database.
- In the OFFICIAL PHP manual has this note:

(PHP 3, PHP 4 )
unlink -- Deletes a file

"Note: This function may not work on Windows systems."

Solution:
- Disable upload feature in config.inc

Fatal error: Cannot redeclare class db_sql

This happening because your php server include the PHPLIB externsion library and there is a PHP CLASS in this library with SAME NAME from vCard.

Solution:

STEP 1:
OPEN: db_mysql.inc.php and rename class DB_Sql to anything you want like: DB_MySQL

STEP 2:
OPEN: lib.inc.php from upload and admin directory and find:

$DB_site=new DB_Sql;
and replace for:
$DB_site=new DB_MySQL;

or other name you replaced in db_mysql.inc.php file.


Copyright Đ 2001 Belchior Foundry, All Rights Reserved.