ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

have problem on encoding

Author Message
phpcoderruss



Joined: 11 Nov 2019
Posts: 1

PostPosted: Mon Nov 11, 2019 7:41 pm    Post subject: have problem on encoding Reply with quote

hey guys.
I have a problem encoding a project that has a vendor folder... I struggle with this for one day. I'm going crazy.
--> when i include vendor folder i get this error

Code:
( ! ) Fatal error: Uncaught LogicException: Passed array does not specify an existing static method (class 'ComposerAutoloaderInit53d64900513a283f2b6d851817267a7d' not found) in C:\xampp\htdocs\+ioncube_business_directory_site_encoded_target\vendor\composer\autoload_real.php on line 0
( ! ) LogicException: Passed array does not specify an existing static method (class 'ComposerAutoloaderInit53d64900513a283f2b6d851817267a7d' not found) in C:\xampp\htdocs\+ioncube_business_directory_site_encoded_target\vendor\composer\autoload_real.php on line 0


I think this error is OK because I encode autoload.php file that exists in the vendor folder

---> and when I exclude vendor folder(select just copy ) I get this error...


Code:
( ! ) Fatal error: <br>The encoded file <b>C:\xampp\htdocs\+ioncube_business_directory_site_encoded_target\public\index.php</b> included the unauthorised file <b>C:\xampp\htdocs\+ioncube_business_directory_site_encoded_target\vendor\autoload.php</b> in Unknown on line 0


and also this error seems to be logic.( it say that you access no encoded file (vendor folder) from index.php )..but how then i encode my project?

now, what can I do ???

I use IonCube encoder 10.2
My project is run on php 7.2 .
check all obfuscation checkboxes



Thanks.
Jer.M
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 362

PostPosted: Tue Nov 12, 2019 9:24 am    Post subject: Reply with quote

It is best to create a ticket about this in our Support Help Desk at https://support.ioncube.com

However, we have two blog articles that you should read with regard to the problems you encountered:

1. There are possible pitfalls with obfuscation that are described in our article at https://blog.ioncube.com/2014/10/16/common-obfuscation-pitfalls/ In particular, there is likely to be a problem with autoloading if class name obfuscation is used.

2. The include file protection feature strictly checks that each including file or included file has the relevant property set. One particular problem with that is if you include an unencoded file which, of course, cannot possibly have the required property and I guess that is the case with autoload.php We give a possible workaround to that in our blog article at https://blog.ioncube.com/2014/12/15/mixing-encoded-unencoded-files/
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum