|  | 
  jose carlos - 2015-11-13 18:54:33Hello,
 First say you've done a great job,
 
 But I have a problem, when you encrypt php classes, she does not recognize them.
 
 What happen?
  Nick Daniels - 2015-11-13 19:15:24 - In reply to message 1 from jose carlosHello Jose, 
 How do you mean, could you give an example of a Class, because I've tested with the following below and it seems to work well for me.
 
 
 <?php
 
 new Test;
 
 class Test
 {
 public function __construct()
 {
 echo "Test";
 }
 }
 
  jose carlos - 2015-11-13 19:56:19 - In reply to message 2 from Nick DanielsHello Nick, 
This is my Class:
 codepaste.net/7nifqv
This is the error when called class from another file ;
 
---Fatal error: Class 'Video_Pro' not found in /video-pro.php on line 70-----
 
by the way, you can download the old version of "Ghost Php Crypt" classes?
 
I want to prove to the previous version if it works.
  Nick Daniels - 2015-11-13 20:16:42 - In reply to message 3 from jose carlosJose are you accounting for the file names? As you may have noticed they're filename".enc.php". 
 Have you correctly changed the includes/requires, etc or either renamed the files by removing filename.enc.php for filename.php
 
 I will try best to see if I can do the functionality you speak of, tho I think you may have missed something.
  Nick Daniels - 2015-11-13 20:21:42 - In reply to message 3 from jose carlosAlso, what is in the file in the error at the line number shown? 
 So in video-pro.php at line 70.
 
 ---Fatal error: Class 'Video_Pro' not found in /video-pro.php on line 70-----
  Nick Daniels - 2015-11-13 20:23:35 - In reply to message 5 from Nick DanielsKeep posting too soon, 
 Also let me know about the requires or includes.  Just wondering if it's a problem in general with the code you have, somewhere something simple will pop out.
  jose carlos - 2015-11-13 20:32:32 - In reply to message 6 from Nick DanielsI just edit the library, so I keep it without .enc.
 In the line 70;
 function run_video_pro () {
 
 --->line70--> $Video_Pro plugin = new ();
 $plugin-> run ();
 
 }
 run_video_pro ();
  jose carlos - 2015-11-13 20:36:36 - In reply to message 7 from jose carlosSorry:$plugin = new Video_Pro();
  Nick Daniels - 2015-11-13 20:39:41 - In reply to message 7 from jose carlosAre you sure this Line 70 is correct?
 Line 70:
 $Video_Pro plugin = new ();
 
 Shouldn't it not be
 
 Line 70:
 $plugin = new Video_Pro();
 
 
 I'm not sure if it's just me, but the 2nd seems to be how it should be I'd hope?
  Nick Daniels - 2015-11-13 20:40:35 - In reply to message 8 from jose carlosIs it still not working that way?
 or was that not the problem?
 |