Log in

View Full Version : Invalid Path File to Php File???


TopShelfGamer
04-17-2011, 06:28 PM
I am using vba cmps and i am attempting to install a trade manager on my site. I bought a site and it has the trade manager so i am trying to just duplicate everything and test from there.

When i goto create the trademanager page in cmps and i put in the path to the php file i am getting this error.


Here is what it tells me to input
Path to File
Here you may specify the path to a file to include which will replace the content of your 'Custom Page Content' module.

Here is what i input
/home/topshe7/public_html/forum/trademanager.php

That is exactly where the file is.

Here is the error i am getting when i try and save the page.

The path you have specified for your PHP File path is not a valid file on your server. Please go back and enter the full path (NOT the URL) to this file.

kh99
04-17-2011, 06:43 PM
Are you sure the permissions on the file are correct (i.e. readable by whatever user the web server is running as)?

TopShelfGamer
04-17-2011, 06:48 PM
Are you sure the permissions on the file are correct (i.e. readable by whatever user the web server is running as)?

very good point, i am just learning that kind of stuff. What value should be made to be readable by anything?

Is there a place i can find more of these values to reference for future use?

kh99
04-17-2011, 07:11 PM
I'm not sure what to tell you because it depends on your OS and what ftp software you're using (if that's what your using). If you have a linux server you shouldn't have any problem finding info about file permissions somewhere on the web.

Anyway, I'd set it to the same owner and group as well as permissions that the vB files have (which I think you should be able to do through your ftp program, if that's what you're using).

Now that I think about it, if you uploaded that file the same way as you did the vB files then maybe permissions aren't the problem after all.

TopShelfGamer
04-17-2011, 07:20 PM
That was actually the problem, i use filezilla and just adjusted the permissions to read and it worked..

Now if i can only find out what in the wolrd this db error is im getting