Skip to content
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

Unable to Use #2

Closed
mIlanvivacity opened this issue Jul 25, 2017 · 18 comments
Closed

Unable to Use #2

mIlanvivacity opened this issue Jul 25, 2017 · 18 comments

Comments

@mIlanvivacity
Copy link

Hello,
Greetings!

Getting issue in using this library, getting error "Fatal error: Class 'PHPShopify\TestSimpleResource' not found", please guide what I am missing.

Looking forward for your help.

Thanks & Regards
Milan G.

@tareqtms
Copy link
Contributor

tareqtms commented Jul 25, 2017 via email

@mIlanvivacity
Copy link
Author

Hello Tareq

Thanks for quick reply!

I am trying to access to the file like http://localhost/phpshopify/tests/BlogTest.php and it is giving me an error Fatal error: Class 'PHPShopify\TestSimpleResource' not found in /opt/lampp/htdocs/phpshopify/tests/BlogTest.php on line 12
Haven't added any custom code yet

Thanks & Regards
Milan G.

@tareqtms
Copy link
Contributor

tareqtms commented Jul 26, 2017 via email

@mIlanvivacity
Copy link
Author

Hello Tareq

I have composer.json but still didn't figured out how to use it

@mIlanvivacity
Copy link
Author

Hello Tareq

I hope these screenshots will help you for guiding me, I ran the command to download the package and this is what I got, please see screenshots
screenshot from 2017-07-26 15 00 18
screenshot from 2017-07-26 15 00 25

Looking forward for your reply.

Thanks & Regards
Milan G.

@tareqtms
Copy link
Contributor

tareqtms commented Jul 26, 2017 via email

@mIlanvivacity
Copy link
Author

Hello Tareq

I copied the file BlogTest.php to shopifywp
screenshot from 2017-07-26 15 26 46
folder and tried to run that file, still got the same error.

@tareqtms
Copy link
Contributor

tareqtms commented Jul 26, 2017 via email

@mIlanvivacity
Copy link
Author

which file?

@tareqtms
Copy link
Contributor

tareqtms commented Jul 26, 2017 via email

@mIlanvivacity
Copy link
Author

Sorry, but I can't find any file. can you please send me again. Thanks in advance

@tareqtms
Copy link
Contributor

Sorry, I was replying in emails. Not sure, why the file didn't come here. As you closed the ticket, I think the issue is resolved for you. Thank you.

@mIlanvivacity
Copy link
Author

mIlanvivacity commented Jul 26, 2017 via email

@yacineA
Copy link

yacineA commented Aug 22, 2018

I have the same issue. What was the solution? What is the right way to work with this sdk, just want to test with the test files

@tareqtms
Copy link
Contributor

tareqtms commented Aug 22, 2018

@yacineA Are you using composer or directly including the files?

@yacineA
Copy link

yacineA commented Aug 22, 2018

@tareqtms I've installed composer, then I modified one file from test files, by adding the line : "require_once "PATH/vendor/autoload.php" , but I got always the error that the Class from which is extended the actual class in the file is not defined.

@yacineA
Copy link

yacineA commented Aug 23, 2018

Can you send me the php example file ?

@prashantsachaniya
Copy link

Can you send me the php example file ?

Hello Tareq,
Can you share me that file or include in repo so everyone can find it easy to use with examples.
Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants