TomE100
08-29-2004, 02:03 PM
Hey, I dont know if anyone knows much about this, but for some reason WHMap has suddenly given me an error every time i try to login to it...
Warning: chmod(): Operation not permitted in /home/clingco/public_html/Order/inc/login_functions.php on line 67
Warning: chmod(): Operation not permitted in /home/clingco/public_html/Order/inc/login_functions.php on line 67
Warning: Cannot modify header information - headers already sent by (output started at /home/clingco/public_html/Order/inc/login_functions.php:67) in /home/clingco/public_html/Order/admin/index.php on line 87
I have no idea what to do here...
barrywien
08-29-2004, 02:30 PM
Looks like a permission problem, whats line 67 of login_functions.php?
TomE100
08-29-2004, 02:33 PM
Its an encrypted code...
<?php @Zend;
6367;
// Generated by Brandee Diggs
// on 08/02/2004 12:38:56 PM
// /************************************************************************
// *
// * WHMAutoPilot - Client Management System
// * Copyright (c)2002-2004 Benchmark Designs, LLC. All Rights Reserved.
// *
// *************************************************************************
// *
// * Email: info@whmautopilot.com
// * Web: http://www.whmautopilot.com
// *
// * Distributor: Benchmark Designs, LLC
// *
// *************************************************************************
// *
// * This software is furnished under a license and may be used and copied
// * only in accordance with the terms of such license and with the
// * inclusion of the above copyright notice. This software or any other
// * copies thereof may not be provided or otherwise made available to any
// * other person. No title to and ownership of the software is hereby
// * transferred.
// *
// * You may not reverse engineer, decompile, defeat license encryption
// * mechanisms, or disassemble this software product or software product
// * license. Benchmark Designs may terminate this license if you fail to
// * comply with any of the terms and conditions set forth in our end user
// * license agreement (EULA). In such event, licensee agrees to return
// * licensor or destroy all copies of software upon termination of the
// * license.
// *
// * Please see the LICENSE file for the full End User License Agreement.
// *
// ************************************************************************/
$current_mib_version="2.4.5.1 - [Zend]";
print "<html><body>\n";
print "<a href=\"http://www.zend.com/store/products/zend-safeguard-suite.php\"><img border=\"0\" src=\"http://www.zend.com/images/store/safeguard_icon_nover_64.jpg\" align=\"right\"></a>\n";
print "<center><h1>Zend Optimizer not installed</h1></center>";
print "<p>This file was encoded by the <a href=\"http://www.zend.com/store/products/zend-encoder.php\">Zend Encoder</a> / <a href=\"http://www.zend.com/store/products/zend-safeguard-suite.php\">Zend SafeGuard Suite</a></p>\n";
print "<p>In order to run it, please install the freely available <a href=\"http://www.zend.com/store/products/zend-optimizer.php\">Zend Optimizer</a>, version 2.1.0 or later.</p>\n";
print "<h2>What is the Zend Optimizer?</h2>
";
print <<<EOM
<p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvent, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.</p>
<p>In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.</p>
<p>The Zend Optimizer is a freely-available product from <a href="http://www.zend.com">Zend Technologies</a>. Zend Technologies is the company that develops the scripting engine of PHP, also known as the <a href="http://www.zend.com/store/products/zend-engine.php">Zend Engine</a>.</p>
EOM;
print "</body></html>\n";
exit(1);
?>
2002062301
barrywien
08-29-2004, 02:40 PM
Think your going to have to contact WHMAP support with this issue, encrypted source cant be edited.
XhaLe
08-30-2004, 02:21 AM
It's a chmod error. You need to change the permissons to 0777. Fix the two chmod errors and it should let you login fine. I had the same problem.
barrywien
08-30-2004, 05:42 AM
To me the error looks as if the script is trying to execute a chmod, if your server does not allow this you get the above error message. But without knowing which file the script is trying to chmod you could be there all day, best option is to report the error to WHMap support
TomE100
08-30-2004, 06:01 AM
I have gotten a reply from WHMap and heres what the problem was:
mib_data/access_logs/
I had to delete everything inside access_logs.
I then found that it was possibly because I had everything inside the WMHap set to 777. I went through and reset everything to 755.
XhaLe
08-30-2004, 06:12 AM
Err, some of the files -have- to be 777. WHMap won't run otherwise. I'm pretty sure that was your problem in the first place.
You can PM me if you have any other questions - as I said, I went through these same problems recently.
TomE100
08-30-2004, 06:27 AM
It was most definately not because some files weren't 777. I know that the inc file must be 777, but I had to reset everything else to 755. If you have all the files not including the inc folder/files set to 777, it gives you an error when you access certain things, which can be found in the error log on the server which says: Error, all users write access.