hgtonight / Application-Yaga

Yet Another Gamification Application is a Garden application that provides a gamification platform for Vanilla Forums and other Garden applications.
GNU General Public License v2.0
28 stars 23 forks source link

Activating YAGA 0.1 wipes all source code #1

Closed phreak closed 10 years ago

phreak commented 10 years ago

When activating YAGA under 2.1b2 the backend and the frontend appear to be white. A check in the source code tells me there is nod code anymore. I can't give more information it's really weird. If you need infophp insights just say so.

hgtonight commented 10 years ago

When you say their is no source code anymore, do you mean just in the application folder?

I just tried enabling Yaga on fresh install of 2.1b2 and other than the settings link pointing to the wrong location, found no issues.

Could you enable debugging (add Configuration['Debug'] = TRUE; to your /conf/config.php file) and report what you got?

phreak commented 10 years ago

Here is the error. I first thought it's an upload related error (not all files properly transfered), but that seems not to be the issue.

Warning: Uncaught exception 'Gdn_ErrorException' with message 'require_once(/www/htdocs/xxxxxxxx/forum2/applications/yaga/lib/class.yaga.php): failed to open stream: No such file or directory' in /www/htdocs/xxxxxxxx/forum2/applications/Yaga/settings/bootstrap.php:10 Stack trace: #0 /www/htdocs/xxxxxxxx/forum2/applications/Yaga/settings/bootstrap.php(10): Gdn_ErrorHandler(2, 'require_once(/w...', '/www/htdocs/w00...', 10, Array) #1 /www/htdocs/xxxxxxxx/forum2/applications/Yaga/settings/bootstrap.php(10): require_once() #2 /www/htdocs/xxxxxxxx/forum2/bootstrap.php(172): include_once('/www/htdocs/w00...') #3 /www/htdocs/xxxxxxxx/forum2/index.php(33): require_once('/www/htdocs/w00...') #4 {main} thrown in /www/htdocs/xxxxxxxx/forum2/applications/Yaga/settings/bootstrap.php on line 10

Fatal error: main(): Failed opening required '/www/htdocs/xxxxxxxx/forum2/applications/yaga/lib/class.yaga.php' (include_path='.:/usr/share/php:..') in /www/htdocs/xxxxxxxx/forum2/applications/Yaga/settings/bootstrap.php on line 10

hgtonight commented 10 years ago

You are sure the permissions for the /applications/yaga/lib/class.yaga.php are set correctly?

phreak commented 10 years ago

I tried 644, 755 and 777. Didn't work. :/

hgtonight commented 10 years ago

Please rename the application folder 'yaga' rather than 'Yaga'.

phreak commented 10 years ago

Uh this was it, my fault. Thanx a lot.

hgtonight commented 10 years ago

Glad that was the issue and that we figured it out. :)

phreak commented 10 years ago

Uff, now i have the menu in the Dashboard but it errors out with "Something has gone wrong" formerly known as Bonk. :/ Do you have you an idea, what could be the reason?

The URLs look like: http://www.forumsite.com/action/settings http://www.forumsite.com/badge/settings http://www.forumsite.com/rank/settings

hgtonight commented 10 years ago

Turning debugging on will give you the proper error.

phreak commented 10 years ago

OK, made it work thanx. It looks amazing and easy in handling. There seem to be an issue with the display of the images for actions from the ~/design/images/action-icons/...

On my server the JS popup doesn't renders many icons. Seem to be an uppercase and lowercase issue of the first letter of the images files. Some are displayed some not. Should we make a ticket?

hgtonight commented 10 years ago

Gah, that renaming stuff is some windows bs. I had to forcefully rename it, but it is there now.