Jump to content

mjm

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by mjm

  1. "...I suspect that anything in the /includes/hooks directory gets automatically merged into each .php file in the system, enabling developers to make enhancements to the WHMCS system without accessing the source code, or editing each .php file" Looks like I was pretty close! More details on how "hooks" work can be found here: http://wiki.whmcs.com/Hooks
  2. Hi all, I did some more work on this since posting my question. It turns out that WHMCS is displaying the php.ini file that I put in the /includes/hooks directory. I removed the php.ini file in that directory, and the problem is resolved. I haven't yet looked into the reason for this, but I suspect that anything in the /includes/hooks directory gets automatically merged into each .php file in the system, enabling developers to make enhancements to the WHMCS system without accessing the source code, or editing each .php file. Thanks for the quick resolution!
  3. Hi all, I just installed WHMCS, and am having a problem. The contents of the php.ini file are being displayed after login, and at the top of each page accessed in the "Portal." I installed WHMCS on a shared server at 1and1.com. Since this is a shared server, I don't have permissions to make changes to the global php.ini file. So I placed a php.ini file in the root WHMCS directory, then created a link to that php.ini file in every sub-directory that has a .php file. Following the "Further Security Steps" instructions, I moved the "attachments", "downloads" and "templates_c" directories, and updated configuration.php to reflect the new locations. I also renamed the admin directory, and added the $customadminpath to the configuration.php file. When I go to the admin login screen, I'm able to enter the admin username and password. I then see a page which displays the contents of the php.ini file. If I then go to http://www.mydomain.com/whmcs, I see the "Portal Home" page. However, at the top of the "Portal Home" page, and of every page I access, the contents of the php.ini file are displayed. I've searched this forum, as well as a number of Google searched, but I can't find any information related to this problem. I would appreciate any help to resolve this issue.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated