Matt,

I'm happy to say I remember enough to understand that, but can you just guide me so I can recognise the two forms? [does 'usr/..' feature with Mac and '../' usually play some part in Windows?]

There's this, for example,

session_start();

 include "../affconfig.php";
 include "./lang/$language";
 include "./countries.php";

and this
<?php include "affiliate.php"; ?> [ah - but this script is in the site 'index.php', while the other file is in a folder. So maybe I have to drop the program folder and put these files in the website root folder. Is that likely? Hmmm Just tested it and it seems not to.]

AAaagh

Thanks Matt - more advice welcome, but I might retrace my steps and start this again. What is the right 'domain name' on the local (Windows) machine with Apache - the 'website' folder is labelled 'www', but the index is called with 127.0.01/. So should that be left blank?

Joseph

From: "Matthew Macdonald-Wallace"
Joseph,

Sounds more to me like the path to the libraries are missing.

Check the include paths are setup correctly (i.e. for windows, not *nix) and that the files that include these constants is definately in the correct directory.

HTH,

Matt

Joseph Harris wrote:
My problem is almost certainly here:

// Your domain name (include www. if used BUT NOT http://)
$domain = "127.0.0.1";

This is Apache on windows localhost and the 'website' is usually 127.0.0.1 (of course); I have left it blank, tried www, tried root. None work.

Joseph

From: "Joseph Harris"

I am trying to set up Post Affiliate on localhost. I get a string of 'notices' [30 or so] on both index.php, which comes up with the the log in form and sign up at the end, and on the sign up page; then sign up submission just gives the notices and a warning.

These are examples of the notices

Notice: Use of undefined constant AFF_G_DATE - assumed 'AFF_G_DATE' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 3

Notice: Use of undefined constant AFF_G_TIME - assumed 'AFF_G_TIME' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 4

Notice: Use of undefined constant AFF_G_AFFID - assumed 'AFF_G_AFFID' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 5

Notice: Use of undefined constant AFF_G_PASSWORD - assumed 'AFF_G_PASSWORD' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 6

Notice: Use of undefined constant AFF_G_USERNAME - assumed 'AFF_G_USERNAME' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 7


and this is the warning


Warning: mysql_connect(): Access denied for user 'dbuser'@'localhost' (using password: YES) in c:\easyphp1-8\www\post affiliate\user\signup.php on line 13
Database CONNECT Error (line 8)

I have completely forgotten how to even start looking for the answers as I have been away from it for ages. Advice, help and ideas welcome ;-)...


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to