-
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
Installation problem #18
Comments
In the example above I have made syntax errors but not the case in the file where I'm trying. |
If you paste code with syntax error, I can't help and see the right error ! Can you zip me your projet and upload it somewhere I can download it and take a look ? |
You have to forgive me as I am a learner and don't like wasting your time asking questions. or if I put in line 4 (class_exists('PHPImageWorkshop\ImageWorkshop')); I'm not getting past line 3 |
In ImageWorkshop.php file, it seems you place code before namespace statement. Please verify this file ("lib/PHPImageWorkshop/ImageWorkshop.php"), it has to begin like that :
Check that there is nothing before "namespace PHPImageWorkshop;" and then "use PHPImageWorkshop...". |
I have checked ImageWorkshop.php and is as it should be. Nothing before namespace and the required_once uncommented. got |
Sorry I only just realized just as I sent the last comment the syntax error as in line 4 |
Ok but PHP think there is something before the namespace declaration of ImageWorkshop.php. This perhaps a problem of file encoding. Check the encoding of test.php, it must be UTF-8 without BOM, the same for the lib files. Is there a way you can paste your project code here for example : http://pastebin.com/, I'll test it in my PHP environment. |
Hello, // got an error to start that said mysql depreciated and to use mysqli and On Mon, Oct 21, 2013 at 12:18 AM, Clément Guillemain <
|
Solved #28 |
I have raised this problem before.
I have in a test file.
I'm getting error undefined function
<script src="script/myscript.js"></script>Is it something to do with the path.
I also have a script folder and in there I have a file myscript.js.
An external javascript.
That does not work but does if not in the script folder.
_ _ DIR _ _.'/resources/image.jpg',)); is that the way to goI don't understand why as it should but reading in forum I saw where and to the point
lib
Add ImageWorkshop.php in lib you now have lib/ImageWorkshop.php
Images folder give 777 rights to allow the script to create images inside.
The text was updated successfully, but these errors were encountered: