2RIP Posted June 4, 2006 Share Posted June 4, 2006 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 137Am i inserting the code improperly? Or is it another problem. Quote Link to comment https://forums.phpfreaks.com/topic/11147-adminpro/ Share on other sites More sharing options...
AndyB Posted June 4, 2006 Share Posted June 4, 2006 Believe the error message - your script cannot locate adminpro_class.php in the same folder as downloads.php Quote Link to comment https://forums.phpfreaks.com/topic/11147-adminpro/#findComment-41707 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.