AD6 AD6 - 2 years ago 101
PHP Question

Fatal error: Class 'Stripe' not found in C:\wamp\www\

I'm getting an error that class is not found, but I clearly have the right path for where it is located:






Every article I've come across all claim that the problem is (not including the right path) in the require_one, include, or require. (I've tried all 3). But still no luck. My database calls follow the same format and my WAMP server has no problem creating my database class.

This is copied directly from my file explore (copy paste)


My php file that I am using to try and access Stripe sits in the same place as 'website'.

PHP version 5.5.12

tutorial references:

Other reference:

enter image description here

Answer Source

It's because it uses a namespace. Try:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download