I recently swift from AppServ to WAMP due to some problem with database connection.
I need to test some website that is running online,locally using WAMP
I face some problems that I don't have in
1. website
2. locally run from AppServ
1. I use DEFINE to setup path, use in a php like
<script type="text/javascript" src="<?php echo DIR_TEMPLATE;?>
Result : It give path DIR_TEMPLATE, never get real path in my define statement
Do : Change to real path "templates/temp2/"
2. I get error, call to undefined function
In my errorlog I get following
[Tue Apr 13 09:31:51 2010] [error] [client 127.0.0.1] File does not exist:
D:/wamp/www/hpp120310/templates/temp2/templates,
referer: [
localhost]
I don't understand last "templates" in D:/wamp/www/hpp120310/templates/temp2/templates
Error is in this code :
<?php echo getSelectPropertyArea('AR'); ?>
script with getSelectPropertyArea() is loaded in first lines of my scripts.
require('inc/functions/listing.php');
Hope this is a problem in setup, any help will been appriciated
Kind Regards
Tom