Will some one help me with a script I uploaded?

by 7 replies
8
There is not much to do to the script, but I think I must not be putting the correct path in can someone help me with this? The directions are below.
This is the error I get.

Warning: fopen(/full/path/to/site/templates/index.html) [function.fopen]: failed to open stream: No such file or directory in /home/a4951711/public_html/member/class/ClassPages.php on line 129

Directions:

Open editor/config/spaw_control.config.php
change
// directory where spaw files are located
$spaw_dir = '/full/path/to/script';

(This is what I put in "home/b346785public_html/member/editor/config")

// base url for images
$spaw_base_url = 'http://www.yourdomain.com/';

(This is what I put in "http://my domain.com/index.php")

Then

<?
$siteName= "SiteName"; <-Site Name
(This is what I put in "member")

$workdir = "/full/path/to/script/"; <- Full Path
b346785

$defaultStyle = "templates/"; <-Template Directory
(I didn't change this because the directory is templates)

$encryptkey = "uggolegoogle"; <- Any Alphabetical Sequence
(I didn't change this)

$paypalEmail = "adminemail@whatever.com"; <- Your Paypal Email
(I added my pp address here)

$encryptKey = "uggolegoogle"; <- The Same Alphabetical Sequence
(I didn't change this)

$adminPageName = "admin.php"; <- Admin Page Name Only Change If Necessary
(I didn't change this because the admin page is admin.php)

$globalPath = "/full/path/to/script/"; <- Full Path
(This is what I put in "home/b346785public_html/member")

$globalUrl = "http://www.yourdomain.com(/dir if applicable)";
(This is what I put in "http://www.my domain.com/member/index.php"

$dateFormat = "Y-m-d";
(I didn't change this)

$adminEmail = "adminemail@whatever.com"; <- Your Admin Email
(I added my email address here)
?>

I didn't use my real user name in the paths above.

Did I put in the wrong info some where?

Thanks for any help you can give me.
Clint
#programming #script #uploaded
  • Did you put in 'home/b346785public_html/member' or '/home/b346785public_html/member/' ?

    If you entered it like the first example, try it like the second example with the preceeding and ending slashes, then see what happens.
    • [1] reply
    • Thank you mojojuju, I put it in like the first example, but I put all the slashes back in where they were originally, and I still got the same error code.
  • Try:

    $globalPath = "/home/b346785/public_html/member";
    $globalUrl = "http 'colon' //www 'dot' my domain 'dot' com/member";

    -----
    Also, using an ftp program manually validate that all the files and folders for the script are where they are expected to be, upload anything that appears to be missing.

    I know that sounds like a very basic thing, but if the ftp program pukes (and this would depend on your ftp program) on any given file it will usually skip it or prompt you for what to do with it and then proceed with the next file in line. So it is easy to miss a file in these cases.

    User Error is not discounted either. I myself miss files form time to time.
    -----
    One thing i am not understanding though. Why is there 3 variables in the same script scope that hold the exact same value?
    • [1] reply
    • [DELETED]
    • Thanks VisualWebEffects I changed it, but still get the same error code. I didn't see any way to use my FTP manually, it's just a free FTP. I did check both of the files mentioned in the error code and both of those files were uploaded. I don't know about the 3 variables, it was like that when I uploaded it I haven't added anything.
  • If you like contact me via PM. Maybe i can take a look at it.

    ----
    In the mean time is there a URL i can go to and see the error codes first hand???

    also what web application is it that you are trying to setup??
  • ooops, sorry i accidently double posted.....
    • [1] reply
    • Thanks VisualWebEffects, I am going to remove it I have another script that I will try and upload later it will probably do a better job any way. Thank you for the help.

      Clint

Next Topics on Trending Feed