Moved to new server, new script problems (need help!)

3 replies
UPDATE 17th JAN 2012: PROBLEM SOLVED

I had migrated to a new server, and several script issues had popped up. I was able to solve most of them with my Dedicated Server hosting provider (HostGator) except for these. Some of HostGator support's reply didn't sound like English to me too. (read: I am not a techie)

Hope to be able to get the answers I need here. If it's something beyond what I can do on my own and it requires a programmer, I am willing to pay.

First, I had moved from the use of CPanel to Parallels Plesk Panel. I believe this is what triggered most of the script problems I am facing now.


1. EBIZRESPONSE.COM

I am using a Parabots script for this website. The login is at:
LINK REMOVED

On logging in as any member, I will get the following error: (even as an admin I will get an identical message)

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:Inetpubvhostsebizresponse.comhttpdocsarincludesH TTPRequest.php on line 46

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;Crogram Files (x86)ParallelsPleskAdditionalpleskphp5pear;./includes;./pear') in C:Inetpubvhostsebizresponse.comhttpdocsarincludesH TTPRequest.php on line 46

2. AMLOH.COM

This is where I host both my Support Helpdesk (Three Pillars script by Willie Crawford) and Power Link Generator script.

(a) The support helpdesk is functional but it produces these weird error messages at the top of the page, when a user writes a ticket.

LINK REMOVED

Warning: fopen(captchas/secrets/536627766204869dbd78b340e36b519e) [function.fopen]: failed to open stream: Permission denied in C:Inetpubvhostsamloh.comhttpdocsfunctions.php on line 145

Warning: fwrite(): supplied argument is not a valid stream resource in C:Inetpubvhostsamloh.comhttpdocsfunctions.php on line 146

Warning: fclose(): supplied argument is not a valid stream resource in C:Inetpubvhostsamloh.comhttpdocsfunctions.php on line 147

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'captchas/536627766204869dbd78b340e36b519e.jpg' for writing: Permission denied in C:Inetpubvhostsamloh.comhttpdocsfunctions.php on line 179

(b) My Power Link Generator script is at:

LINK REMOVED

But produces these errors so it cannot be used at all:


Warning: include() [function.include]: open_basedir restriction in effect. File(C:/home/power/public_html/powerlinkgenerator.v4.1/include/functions.php) is not within the allowed path(s): (C:Inetpubvhostsamloh.comhttpdocs) in C:Inetpubvhostsamloh.comhttpdocsplgindex.php on line 11

Warning: include(/home/power/public_html/powerlinkgenerator.v4.1/include/functions.php) [function.include]: failed to open stream: Operation not permitted in C:Inetpubvhostsamloh.comhttpdocsplgindex.php on line 11

Warning: include() [function.include]: Failed opening '/home/power/public_html/powerlinkgenerator.v4.1/include/functions.php' for inclusion (include_path='.;Crogram Files (x86)ParallelsPleskAdditionalpleskphp5pear;./includes;./pear') in C:Inetpubvhostsamloh.comhttpdocsplgindex.php on line 11

Fatal error: Call to a member function set_filenames() on a non-object in C:Inetpubvhostsamloh.comhttpdocsplgheader.php on line 7
Hope any experienced programmer or webmaster knows what is going on. The common denomination I see in all the errors seem to have to do with some 'misled path in the directory', but I don't have better guesses than that.

Edmund
#moved #problems #script #server
  • Profile picture of the author jasong714
    For the first one:

    inc ludes\ probably should be includes\

    for the second one:

    header.ph p

    probably should be

    header.php - no space

    Looks like when you transferred these files they got damaged, just remove the spaces. You may have some permissions issues after that, but the warnings won't necessarily stop the code from functioning
    {{ DiscussionBoard.errors[5402476].message }}
  • Profile picture of the author gaetanoc
    It is a php configuration problem.

    In php.ini there is a variable called open_basedir.

    This variable should either be empty or contain a directory above the scripts that you are including. Otherwise your includes would not work.

    Let me know if this does not solve your problem
    Signature
    An experienced technical programmer wants to JV with you


    I will build any kind of software, bots, web applications, desktop applications, mobile applications - you will handle marketing and sales.
    {{ DiscussionBoard.errors[5402741].message }}
  • Profile picture of the author EdmundLoh
    Thanks for replying guys. I realized the technical problems were greater than what I've just mentioned here, and above all HostGator's dedicated servers just aren't built for mass in-house mailing.

    I had since migrated to another dedicated server, and made sure it's using WHM/Cpanel too, which in itself ironed out more than 90% of the script problems.

    Edmund
    {{ DiscussionBoard.errors[5440752].message }}

Trending Topics