-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing ImageWokshop #17
Comments
Hi Goodoh, are you sure this is not a problem of syntax ? Because in your snippets you are calling : "requier_once" instead of "require_once" to include file ? Your last code should work (if you uncommented all require_once in the files of the lib as you said). |
Thankyou for your reply. and so on but I can't get past line 3 You can see I have arial.ttf in On Fri, Oct 4, 2013 at 7:45 PM, Clément Guillemain <notifications@github.com
|
I am still getting an error Namespace must come first etc on line 3 when I try this I can't understand it and any advice would be a help |
Hi @Goodoh I read your error :
This means that your script don't find the library file. Are you sure having this folder structure :
You shloud try before all the code this :
If false, the path is wrong ^^ |
Duplicated issue : #18 |
I am all new to this but a willing leaner.
I search the forum and found this advice testing if installed.
To the point as I have un commented all require_once in all files in PHPImageWorkshop folder that I have in my lib folder.
test this script.
Got True
output:
test
Got false
Tested that file ImageWorkshop.php exists and got True
Then tried
output
fatal error: call to undefined function require_once()in C:\apachehtdocs\website\test.php on line 3
then tried
And I got the same fatal error as before
At other times doing something a little different
fatal error :require_once():failed opening required"PHPImageWorkshop/ImageWorkshop.php'(include_path='.;C:apache\php\PEAR')in C:\apache\htdocs\website\test.php on line 3
Your help would be very appreciated.
When I down loaded the zip ImageWorkshop_master only recently it is on my download file and I have unzipped and have the file PHPImageWorkshop in my lib file as it says inn the installations etc. I am using xampp with with php5.5.0 if that may be of importance
Thanks Goodoh
The text was updated successfully, but these errors were encountered: