Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 09-14-2009, 08:12 AM   #1
Senior Warrior Member
War Room Member
 
Join Date: Jul 2005
Location: North Carolina
Posts: 1,053
Thanks: 90
Thanked 61 Times in 51 Posts
Default Will some one help me with a script I uploaded?

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

clint48 is offline   Reply With Quote
Old 09-14-2009, 08:21 AM   #2
Personal hygiene coach
 
mojojuju's Avatar
 
Join Date: Aug 2005
Location: Potemkin Village
Posts: 1,083
Thanks: 268
Thanked 377 Times in 254 Posts
Social Networking View Member's Twitter Profile 
Default Re: Will some one help me with a script I 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.
mojojuju is offline   Reply With Quote
Old 09-14-2009, 09:36 AM   #3
Senior Warrior Member
War Room Member
 
Join Date: Jul 2005
Location: North Carolina
Posts: 1,053
Thanks: 90
Thanked 61 Times in 51 Posts
Default Re: Will some one help me with a script I uploaded?

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.

clint48 is offline   Reply With Quote
Old 09-14-2009, 10:03 AM   #4
HyperActive Warrior
War Room Member
 
VisualWebEffects's Avatar
 
Join Date: Sep 2009
Location: Canada
Posts: 137
Thanks: 4
Thanked 35 Times in 18 Posts
Contact Info
Send a message via Skype™ to VisualWebEffects
Default Re: Will some one help me with a script I uploaded?

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?

VisualWebEffects- Web Application Development, PC Software Development and Identity Design services
VisualWebEffects is offline   Reply With Quote
Old 09-14-2009, 11:09 AM   #5
Senior Warrior Member
War Room Member
 
Join Date: Jul 2005
Location: North Carolina
Posts: 1,053
Thanks: 90
Thanked 61 Times in 51 Posts
Default Re: Will some one help me with a script I uploaded?

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.

clint48 is offline   Reply With Quote
Old 09-14-2009, 03:36 PM   #6
HyperActive Warrior
War Room Member
 
VisualWebEffects's Avatar
 
Join Date: Sep 2009
Location: Canada
Posts: 137
Thanks: 4
Thanked 35 Times in 18 Posts
Contact Info
Send a message via Skype™ to VisualWebEffects
Default Re: Will some one help me with a script I uploaded?

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??

VisualWebEffects- Web Application Development, PC Software Development and Identity Design services
VisualWebEffects is offline   Reply With Quote
Old 09-14-2009, 03:37 PM   #7
HyperActive Warrior
War Room Member
 
VisualWebEffects's Avatar
 
Join Date: Sep 2009
Location: Canada
Posts: 137
Thanks: 4
Thanked 35 Times in 18 Posts
Contact Info
Send a message via Skype™ to VisualWebEffects
Default ooops, sorry i accidently double posted.....

ooops, sorry i accidently double posted.....

VisualWebEffects- Web Application Development, PC Software Development and Identity Design services
VisualWebEffects is offline   Reply With Quote
Old 09-17-2009, 01:39 AM   #8
Senior Warrior Member
War Room Member
 
Join Date: Jul 2005
Location: North Carolina
Posts: 1,053
Thanks: 90
Thanked 61 Times in 51 Posts
Default Re: Will some one help me with a script I uploaded?

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

clint48 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
script, uploaded

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:50 AM.