Pinpickle / tight

Bolt boilerplate generator
15 stars 0 forks source link

Class Extension not found #25

Closed kromakollision closed 8 years ago

kromakollision commented 8 years ago

Any idea what could be causing this error?

Fatal error: Uncaught Error: Class 'Kromakollision\testproject\Extension' not found in /home/u860129147/public_html/index.php:35 Stack trace: #0 {main} thrown in /home/u860129147/public_html/index.php on line 35

'Kromakollision' and 'testproject' are the values I entered while running the generator.

Locally everything works fine. This error occurs after I upload the files to the server. Unzipping the site-bundle didn't work, so I unzipped it locally and uploaded manually.

I'm not familiar with this php namespacing thing..

Pinpickle commented 8 years ago

Ohh this is a longstanding bug, extension files are not uploaded to the server correctly.

Sorry about the delay, I'll get this sorted

Pinpickle commented 8 years ago

@kromakollision I've fixed it upstream but as you've already generated your project, I'll tell you what to do

In gulpfile.js, you're going to want to add an extra element to the appDeploy array on line 49. Simply the string './src/**/*.php', will do. See an example in the template file.