php Errors.

Status
Not open for further replies.

cointoss

New Member
Messages
154
Reaction score
0
Points
0
Hi. I am sorry to trouble you, but I am having some issues with a new script I am trying to use. Before I begin, some preliminary information:

cPanel user name: cointoss
subdomain/domain: cointoss
hosting package: ad-free

I am receiving the following error when I try to upload a banner (it is a script for a banner exchange):

Warning: mkdir() [function.mkdir]: No such file or directory in /home/cointoss/public_html/exchange2/ads.php on line 106

Warning: chmod() [function.chmod]: No such file or directory in /home/cointoss/public_html/exchange2/ads.php on line 107

Warning: move_uploaded_file(/var/www/exchange2/files/1/banner.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/cointoss/public_html/exchange2/ads.php on line 116

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpxHJNwY' to '/var/www/exchange2/files/1/banner.gif' in /home/cointoss/public_html/exchange2/ads.php on line 116


I believe the problem may stem from one of the following scenarios of which I have no knowledge:

Scenario 1:
In the installation files, it is noted that:
PHP configuration settings short_open_tag = on
I do not know if this is the present case. I do not even know what this means. lol.

Scenario 2:
I am currently using the Intermediate version of PHP. Do I need to request the higher version?

Scenario 3:
There is an error within the script for which I have no knowledge as to how to fix...

Scenario 4:
I am an idiot and haven't configured something properly. lol.

Your help will be GREATLY appreciated. You guys are great. Thanks for the wonderful service. I have to admit, it appears there is much turmoil at x10, what with the move and all. I personally have had no problems. I don't see how ANYONE could complain about the service. Thanks again!
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Since you're so patient I debugged your script for you ;)

$path_main = "/var/www/exchange2";

Is in your config file. It needs to be changed to
$path_main = "/home/cointoss/public_html/exchange2";
 
Status
Not open for further replies.
Top