Jump to content


Photo

adminpro


  • Please log in to reply
1 reply to this topic

#1 2RIP

2RIP
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 04 June 2006 - 11:13 AM

I just installed admin pro, installation went well.

The final step is to add the code into the page needed restriction access.

<?php include("adminpro_class.php");
$prot=new protect("1");
if ($prot->showPage) {
?>
<!--- HERE COMES YOUR PHP CODE OR YOUR HTML CODE ---!>
<?php } ?>

I tried many ways of entering this code, but most of the time i get

Warning: include(adminpro_class.php) [function.include]: failed to open stream: No such file or directory in /var/www/virtual/web.byethost.com/htdocs/downloads.php on line 137

Am i inserting the code improperly? Or is it another problem.

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 04 June 2006 - 02:07 PM

Believe the error message - your script cannot locate adminpro_class.php in the same folder as downloads.php
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users