Jump to content

Archived

This topic is now archived and is closed to further replies.

2RIP

adminpro

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Believe the error message - your script cannot locate adminpro_class.php in the same folder as downloads.php

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.