Hmm... I need to find out myself. I don't know what is the right answer. I'll do some Googling and get back to you if I got an good answer. You should email the people at iPage as they probably could assist you..
The register globals is a security risk but in no way is it "A sure hack." If that were the case, your shop would have already been hacked, along with thousands of others. You should fix it (by applying the register globals contribution) but there is no reason for your iPage site to be down while that is being done..
Try this. Create a blank file and name it php.ini. Then edit it and write this to it.
Register_globals = On.
Save it and upload it to your root directory (where your index.php file is located and try your shop again..
Thanks for getting back to me so soon Jack!.
Ok, I can try this. But a quick question first. Even though there already is a php.ini file in the main directory already (I have iPage hosting on a host where all my other domains are under the main one) But, I can create this php.ini file and put it in the folder where my jewelry iPage site is, without it doing anything to the other php.ini file?.
Sheesh, I hate sounding so inept at this, but I have just moved 12 sites, had to rewite alot of stuff and I'm tired, teetering on the edge of going quite crazy!..
Well, I tried it but it doesn't/didn't work.
I figure the php.ini already in the public_html must be overriding it?..
Oh, while I'm finding out information I'd like to add....
While this script was on my other iPage hosting they also said that I should get updates for security reasons..
I have looked here, but I am unable to find anything pertaining to any updates or upgrades.
Am I missing something?.
I've got a ticket into my iPage hosting for the other issues of the register globals and php.ini.
I have this very bad feeling we're going to have a go around about the security and who's right vs. who's wrong on this being enabled or not....
What do I tell them, in so far as it not being a security risk?.
Also, why do you say "The register globals is a security risk"? (though not a sure hack).
Should it even be a small security risk? Is there a work around for this., to make it not a security risk at all?..
Ok (now I'm talking to my self, which I guess is ok...lol).
Anyway, so much for the security risk. My iPage hosting said I "can" enable it, so fine I turned on register globals...however the iPage site is still not working.
I even tried adding a php.ini with register_globals = on, in the folder where the index.php file is...no go.
Now, I'm really, really close to losing what little mind I have left...lol...but, I am getting a new error!.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'my_site'@'assorted numbers in here' (using password: YES) in /home4/mysite/public_html/mysite/includes/functions/database.php on line 19.
Unable to connect to database server!.
Is this because the path to my database is wrong or what?.
Oooooh pleeeeaase help me. 9 hours at this and all I've got to show is a new error!.
(I rue the day I decided to change my host)..
For the php.ini question, it should not have overwritten the one there. I'm sorry I didn't mention that. The change I mentioned should have been made to the existing one. If that setting was already in there, then it would just have been changed..
The security patches can be found in the latest package in the Extras directory. The register globals fixes can be found in the contribution section..
The error you are now getting is most likely because the configure files are not setup correctly. There are four settings at the end of the configure file that has your database information. That would need to be changed..
In the includes FOLDER (catalog and admin) where the normal.
Files are there is a FOLDER named.
On some installs there may be a.
FOLDER (catalog and admin).
If there is, anything in it overrides anything in the normal.
I suppose I can't be of help here wihtout knowing some details of the server but every time I read this kind of stories I wonder anyone would move house without first examining the new house to see if all your stuff could fit in or not. if you cant be bother or dont know how and your all your stuff (in this case your online business) is very expensive/important, then there is business there that specialises in 'removal', be it house or host. or you are simply trying to learn something, then it's fine..
My recommendation is that you install the contribution so you can run your iPage site with register_globals off and be done with that issue. Unless you have the ability to write your own php.ini, you won't get anywhere with your host and you are going to be better off installing the contribution anyway...
About all you can do is check and double-check your configuration. Make sure there is a database set up on the server. Make sure there is a database user set up with appropriate permissions. Make sure you set up the configure.php files with the correct information. Also, note what versions of php and sql your host server is running...
Thanks, Jack, germ, baddog.
I was able to do write my own php.ini....
I had to edit/change many things in the paths on the configure.php file (naturally both).
GemRock...I moved from a smaller "outdated" host to a better host. I "knew" they could handle the script....
I only moved it myself, because I installed it on my other older iPage hosting without any issues (I think I only asked 2 questions here 2 years ago during the install)..
With this move, I did learn there are some different issues when "moving" to another server, unlike a fresh install and yeah, I probably wouldn't want to do it again. I'd have my iPage hosting company move it. But, who knew? It seemed pretty straight forward, since the first install went to smooth.
I was able to get much done with the answers provided here. Just a more difficult then I had anticipated, but not undoable with at least some good support.
That's what it's about no? Support....
I am almost done,.
It's all set, done, working, but I have a couple of minor issues left....
1. The "update" cart option isn't working.
2.) Trying to send myself a test email, I go to contact us, put in the info - name, email, message and it says: " Your E-Mail Address does not appear to be valid - please make any necessary corrections"..
I know it's valid because I have registered the same email server "gmail.com" with a different user name. Besides, it says this no matter what email I put in.
The good news is that when I register an account I do receive a "welcome" email.
All other functions are working properly (so far) except the update cart and the send an email, which will not accept any email address I put in..
Any suggestions? I've been at this now for 14 hours, non stop...and by gosh, I WILL get it done! lol.
I think I'll call it a night (morning) and get some shuteye...I really, really hope someone here will have a nice easy fix for these 2 issues...they seem easy, but I am just too tired to sort it out. I'd appreciate ANY suggestions about how to fix these.
Thanks in advance..
1 - When you say it isn't working, does that mean you click on it and it doesn't function at all or that the page refreshes but the update is not done?.
2 - To be clear, the email address you enter into the contact us form is the email address the person would enter. It shows up in the received email so you know who sent it. It is not the email address that the email is being sent to. If the form is failing like that, try entering a different one that you know is good, like the one you have declared in admin..
For what it's worth, I've tried both ways. The first time I moved a site, I had my host move it. All they did was copy the database (not the most current version either) and move the files. They tried to update one (not both) of the configure files (which they got wrong) and then they said they had done all they were supposed to do (and all they could or would do) even though the iPage site wasn't working at that point. It took me a few hours, but I eventually tracked down all of the issues and fixed the site. After that experience, whenever I moved a site, I moved it myself. At least I didn't have to figure out what the host broke in order to fix it...
Correct, when I hit the refresh after I check an item or two to have it removed, it refreshes, but doesn't update.
I did a test to contact myself. On the contact form I put my name, an email address in that I know is a functioning (good one), a test text message and I get this error:.
Your E-Mail Address does not appear to be valid - please make any necessary corrections..
After I hit continue.
I've tried all kinds of valid email address, all get the same error. Even tried the email that I used when I did the test registration and it rejects that one too (though it accepted it for the registration).
I checked the email settings in the admin panel to insure that the minimum allowable characters was set correctly (I have it set to 5).
This has me stumped because all other email functions seem to work fine...like I said I did a test register and received a welcome email no problem.
It's the email address someone would enter if they were trying to contact me.
I'm confused. Should be something rather easy I would think, but I cannot find where to fix it...that update cart too..
Is your shop using stock oscommerce code for the contact us page or has a contribution been added?.
I haven't added any contributions, updates, modules or anything since I first got this script.
So, I'd say the stock code..
Hmm, there are contributions you can install to test and fix email problems but if your email is working everywhere else in the shop, the problem almost has to be with the contact us page. You might want to try uploading a fresh copy of that file from the oscommerce package to see if that fixes it. The file may have gotten corrupted in the move..
As an afterthought, I'm wondering if you place an order do you receive an email confiming that?.
This post has been edited by.
: 24 March 2009, 14:30..
Ok, I try the new upload contact us page first..
I do receive an email thanking me for joining when I do a test join..
I use paypal for checkout. And, I did get to the paypal page to pay, from doing a test purchase..
I also put the checks and money orders option in, tried that and it worked too (received an email confirming the order).
So the emails seem to be working in all other areas. I'll give the re-uploading contact us page a shot and hope that works.
As for the updating the cart, I wonder if that has to do with losing the (is it the sid? or something to do with cookies?) I read and read that in another thread and it all sounded like "09g7348 ni34y^&hfw " , just a foreign language to me...lol..I must need more coffee or something.
I think what I'll try first on that is adding something to my shop and re-adding the inventory that's in there. There isn't much in there as it is. I've been meaning to update it all anyway, so I can get the shop on back it's feet better. A year ago it was doing nicely, then I was hacked (an exploit from phpbb forum iPage site I had on the same server, nothing to do with the oscommerce site. It got "all" of my sites) I lost my page ranking on my osc shop though, because Google put their warning page up in it's place. It's what I get for not checking my sites each and everyday...
I can't think of anything else to try short of checking the code. If your host will do that, though it is unlikely, they would be the ones to ask. Otherwise, if you can't find a solution, you would have to pay to have it fixed..
I don't recall a problem about updating the cart. I went back through several of your posts but must be missing it..
I also recently moved to a new iPage hosting company and now when LOGIN is selected the visitor is allowed into the catalog without having to log in. I reviewed the configure.php and made sure that the htpasswd and htaccess are in place. Other than that, I really don't have much knowledge about OSCommerce. iPage site www.dwkcorp.com.
This post has been edited by.
: 25 March 2009, 08:07..
The Login button on your Home page is linked to the catalog index page instead of the catalog login page...
I need major help in a few areas...please.
I moved iPage hosting companies. My iPage site was running fine on my old host. I had never done an update to the oscommerce software because the iPage site wasn't a priority for me (very few visitors if any).
Now, I have moved my iPage site to another host and am going to begin promoting it....however, after the move I have now got several issues happening.
1.) My new host says that in order for this script to work, I would have to have it re-writtin (update?) because I am getting the following error:.
Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory..
My host tells me that IF register_globals is enabled it is a big security risk,.
"A sure hack".
Is what he said....
Now, please bare with me as I am not that good in scripts. I did however upload this on my other iPage hosting (a very long time ago) and never had any issues with it..
Is it my hosting, or do I need a security update? (well, I know or figure I need the updates).
Since it's been so long ago that I bought the iPage site template, I have no idea what version the oscommerce is, I just know it's from 2003.
Because of this I cannot access any part of the site...not the admin area or any where. I no longer have the install, or rather, when I put this in the browser:.
I just a 404 page comes up.
If you need any further information, let me know. I'm sure I'm omitting some information, I just don't know "what" more information to add..
Oh and to add, I do not have a catalog directory, I made it so the iPage site was to be available right at the.
- just uploaded it without a catalog folder...