chrometweaks.org

How do you set up a subdomain on a Mac for iPage?

Click Here To View All Answers...


My question is How do you set up a subdomain on a Mac for iPage? Looking forward for any response. Another question on my mind: Two quick questions:.

1. I get the following area while in my admin pages -.

Warning: main(includes/counter.php): failed to open stream: No such file or directory in /home/sauerwa/public_html/catalog/admin/includes/footer.php on line 13.

Fatal error: main(): Failed opening required 'includes/counter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sauerwa/public_html/catalog/admin/includes/footer.php on line 13.

Looks like I'm missing a php file, but I find the footer file in the specified directory. What gives?.

2. Is there a way to "mass copy" a series of options from one product to another?.

I'm putting together a golf site, and all the clubs have the same series of shaft options and I would really like to copy them from club to club instead of having to enter each on on the attributes pages..

ANY HELP WOULD BE GREATLY APPRECIATED..

Comments (98)

I'm stumped. I'm not so sure what is the answer to that question. I'll do some poking around and get back to you if I bump into an answer. You should email the people at iPage as they probably know..

Comment #1

This is the code at the approprite line... with the require statement. Not sure how this relates to my directories... I don't have a DIR_WS_Includes directory..

Not knowing PHP, is the "." indicating the catalog/includes directory, because the counter PHP does reside in that directory..

Require(DIR_WS_INCLUDES'counter.php');.

?>.

<table border="0" width="100%" cellspacing="0" cellpadding="1">.

<tr class="footer">.

I know, I know...stupid questions...I'm on day two working with oscommerce!..

Comment #2

The "DIR_WS_INCLUDES" isn't the name of the directory..

The DIR_WS is telling the script where to look, which is (in this case) the INCLUDES directory..

The "." is a required php syntax element. You will get parse errors without it..

If your counter.php file is in, say, a directory called "addons", your require statement would need to read:.

Require(DIR_WS_ADDONS. 'counter.php');.

If t is in the main ?catalog? folder, then you don;t need to specify the path to it, and your require statement would just read:.

Require('counter.php');.

HTH..

Comment #3

Thanks Julie, I will give that a shot... TeeJay... guess I don't understand why I'm getting the error then...in the public_html/catalog/includes directory - I have the counter PHP script.....

What would you look for next?..

Comment #4

Post line 13 of footer.php, plus a couple of lines either side of it...

Comment #5

Wait...on re-reading your post, I just noticed:.

This problem is in your ADMIN area???..

Comment #6

Yes, it is at the bottom of my product / category pages when I am doing catalog work...

Comment #7

The footer for the admin pages doesn't require the counter.php page. It is a totally different footer..

Have you tried to modify the footer, and then perhaps uploaded the wrong one, or uploaded it to admin instead of catalog?..

Comment #8

No, but I didn't set the iPage site up... I'm just picking it up and learing the workings of it..

Is there a "copy" of the proper footer somewhere else on the site?.

I will see if I have a back up copy..

Comment #9

Two quick questions:.

1. I get the following area while in my admin pages -.

Warning: main(includes/counter.php): failed to open stream: No such file or directory in /home/sauerwa/public_html/catalog/admin/includes/footer.php on line 13.

Fatal error: main(): Failed opening required 'includes/counter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sauerwa/public_html/catalog/admin/includes/footer.php on line 13.

Looks like I'm missing a php file, but I find the footer file in the specified directory. What gives?.

2. Is there a way to "mass copy" a series of options from one product to another?.

I'm putting together a golf site, and all the clubs have the same series of shaft options and I would really like to copy them from club to club instead of having to enter each on on the attributes pages..

ANY HELP WOULD BE GREATLY APPRECIATED..

Comment #10

Hi there,.

The format of the message is saying that footer.php is trying to find the file counter.php in the /includes directory..

Line 13 of footer.php will have a call (include, require) that will reference the counter.php. You may find that this file is indeed missing or that the path to the file is wrong..

Check your file list using the file manager in OSC or your FTP client..

Cheers.

Steven..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.