miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Other miniBB Community Forum / Other /

In Windows, what should I set //$pathToFiles='./'; variable to?

 
Anonymous
Guest
#1 | Posted: 28 Jul 2007 21:56
Reply 
'./' does not work.
Location of the folder is C:\miniBB.

I've tried different combinations of single/double quote/slashes and nothing seems to be working :( Any help would be apprecaited.
lime
Forums Member
#2 | Posted: 29 Jul 2007 00:15
Reply 
Did you try C:\miniBB ?
I'm not sure if that would work because I do not use a windows server but that's the path you described, so it might.
Karel II
Forums Member
#3 | Posted: 29 Jul 2007 08:44
Reply 
I use the same setting

$pathToFiles='./';

both for my localhost server (Windows) and Linux server within my webhosting and it works in both cases. What lead you to the idea that particularly $pathToFiles is set wrong?

miniBB manual says:

Pay attention also at the option $pathToFiles, which is described below. It's not subject to change, if you're not having any difficulties with running the board. However, on some operating systems like Windows, and some server configurations, it will be strongly required, that you set full absolute path to your scripts, so they can be included via PHP's include function properly. Also, many third party libraries functions available in PHP, require this option to be set as full path (GD or Aspell, for example).

(similar observation to lime's) and also make sure that you do not have the line commented, i. e.

//$pathToFiles='./';

is wrong, it should look like

$pathToFiles='./'
Paul
CEO
#4 | Posted: 29 Jul 2007 08:59
Reply 
As suggested you may try both

$pathToFiles='c:\miniBB\\';

or

$pathToFiles='c:/miniBB/';
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 25
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®