helios-ag / FMBbCodeBundle

:capital_abcd: BBCode bundle for Symfony projects
Other
57 stars 35 forks source link

Fatal error: Class 'Decoda' not found #22

Closed nekulin closed 12 years ago

nekulin commented 12 years ago

Fatal error: Class 'Decoda' not found in /var/www/clients/client1/web16/web/vendor/bundles/FM/BbcodeBundle/Decoda/Decoda.php on line 8

nekulin commented 12 years ago

switch php-decode 3.X git checkout -b origin/3.x

piratadelfuturo commented 12 years ago

Can you provide more details please? Which file throws this error?

nekulin commented 12 years ago

There are 2 problems: 1) In the autoload in the instructions you write 'Decoda' = > DIR.'/../vendor/php-decoda/decoda' In php-decode function in the branch master no folder decode. This problem is solved by switching to a branch x3

2) On the basis of 1 error 2 error occurs Fatal error: Class 'Decoda' not found in /var/www/clients/client1/web16/web/vendor/bundles/FM/BbcodeBundle/Decoda/Decoda.php on line 8 which arises in the file FM/BbcodeBundle/Decoda/Decoda.php

helios-ag commented 12 years ago

I have updated Readme file with specifying version of Decoda library. This happens due to release of 4.x version of Decoda lib by @milesj

You can change deps file the following way [php-decoda] git=http://github.com/milesj/php-decoda.git version=3.5

nekulin commented 12 years ago

Thank you

milesj commented 12 years ago

Yeah, I am still in the process of finishing v4, so somethings may still be acting wonky.