PHP Classes

Installation

Recommend this page to a friend!

      Security  >  All threads  >  Installation  >  (Un) Subscribe thread alerts  
Subject:Installation
Summary:How to install
Messages:4
Author:Jonathan Odette Sengi
Date:2015-07-22 11:10:01
 

  1. Installation   Reply   Report abuse  
Picture of Jonathan Odette Sengi Jonathan Odette Sengi - 2015-07-22 11:10:02
Hi, I'm getting some error when i lounch the index file in security folder, can you tell me how to run the package please?

  2. Re: Installation   Reply   Report abuse  
Picture of Michael J. Fuhrman Michael J. Fuhrman - 2015-08-04 03:10:40 - In reply to message 1 from Jonathan Odette Sengi
Hi Jonathon,

I need more data. What is the message you are recieving when you attempt to execute the file?

Mike,

  3. Re: Installation   Reply   Report abuse  
Picture of Jonathan Odette Sengi Jonathan Odette Sengi - 2015-08-05 19:38:35 - In reply to message 2 from Michael J. Fuhrman
Hi Michael,
with this URL: http://localhost/Security/ i get this error:
getItem (rootFolder ()); $objSecurity = new ENetArch_Security_Security (); $objSecurity->setState ($fldrSecurity); ?>
setPanelName ("Security.Login"); $pnlLogin->drawPanel (); ?>

and if
i put this in my brower (google chorme) http://localhost/Security/install/install.php
I get this:

getClass ("Site_Policies")->ID(); CreateClass ("Security_Policies", ldrGlobals::cisFolder(), $clsSite_Policies , true); CreateClass ("Security_Users", ldrGlobals::cisFolder(), 0 , true); CreateClass ("Security_User", ldrGlobals::cisFolder(), 0 , true); $szStr = " dLogin DateTime, " . " szPassword varChar(40), " . " bActive Integer, " . " dInActive DateTime, " . " szEmail varChar(250) "; CreateClass ("Security_Login", ldrGlobals::cisItem(), 0 , true, $szStr); } ?>

Thanks

  4. Re: Installation   Reply   Report abuse  
Picture of Michael J. Fuhrman Michael J. Fuhrman - 2015-08-05 22:56:04 - In reply to message 3 from Jonathan Odette Sengi
Jonathan,

The 1st error .. getItem (rootFolder()); .. is probably due to the second error.

If you have access phpMyAdmin for mySQL, check the database to see if the Ladder_Links and Ladder_Definitions tables were created. There should also be tables for Security.

The 2nd error .. seems to be either bad code on the page. I will have to download this library and attempt to install it to know for sure. I've been working on newer libraries, so kinda out of touch with them.

Let me know what you find in phpMyAdmin.

Mike