Welcome Guest, Not a member yet? Register   Sign In
Errors In Code
#9

(This post was last modified: 08-22-2017, 04:28 PM by InsiteFX. Edit Reason: spelling error )

(08-21-2017, 09:40 PM)SDavisworth Wrote:
(08-21-2017, 08:40 AM)InsiteFX Wrote: Did you set your path in the ./application/Config/Paths.php file?

I am running Windows 10 Pro with PHP version 7.1.8 and everything runs fine.

You may have to add environment variables in Windows Control Panel.

Thanks for you suggestion but I left everything as it was... The default "Welcome" page loads fine and all my refs in ./application/Config/Paths.php are...

public $applicationDirectory = '../application';
public $writableDirectory = '../writable';
public $testsDirectory = '../tests';
public $publicDirectory = 'public';

I'm using NetBeans and have copied the CI4 source files to ProjectName..Source Files... so can't really change any paths.
InsiteFX... can you please advise me on what sort of "Windows Env Vars" I would need to apply... I've created other std php apps before and they are running ok... so not sure on what to change. Thanks

I set the variables in the Control Panel to 

Like this Windows 8 and 10:

Code:
C:\xampp\php
C:\xampp\htdocs
C:\ProgramData\ComposerSetup\bin

Like this for Windows 7:

Code:
C:\xampp\php;
C:\xampp\htdocs;
C:\ProgramData\ComposerSetup\bin;

Control Panel:

1) System and Security
2) System
3) On left side click on Advanced system settings
4) On bottom of Dialog click on Environment Variables...
5) Click on Path and then edit them.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Errors In Code - by SDavisworth - 08-21-2017, 05:39 AM
RE: Errors In Code - by InsiteFX - 08-21-2017, 08:40 AM
RE: Errors In Code - by SDavisworth - 08-21-2017, 09:40 PM
RE: Errors In Code - by InsiteFX - 08-22-2017, 04:26 PM
RE: Errors In Code - by scalla - 08-21-2017, 09:58 AM
RE: Errors In Code - by ubiray - 08-21-2017, 10:54 AM
RE: Errors In Code - by kilishan - 08-21-2017, 11:36 AM
RE: Errors In Code - by kilishan - 08-21-2017, 07:00 PM
RE: Errors In Code - by SDavisworth - 08-21-2017, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB