Guest Posted March 25, 2007 Share Posted March 25, 2007 Hi there guys have been looking for an answer to this but can find one. Installed ver 2.2 on shared server everything goes great untill i go to change Categories and it just wont let me, :( :( :( :( :( i can deleat sub Categories and products pulling my hair out now for days really need to get this shop up and running. After I installed i had to use register_globals_v1.5 if this has anything to do with it. when i went do delete it it wont delete every folder from the server even though there enpty?? PLEASE PLEASE SOMEONE HELP ME Why wont it let me change or delete Categories Installed ver 3 for testing and it works fine :) Link to comment Share on other sites More sharing options...
crandall87 Posted March 25, 2007 Share Posted March 25, 2007 hmm sounds like you may have to do a new install of oscommerce. it may have something to do with the register globals thing but I am not sure. Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2007 Share Posted March 25, 2007 hmm sounds like you may have to do a new install of oscommerce. it may have something to do with the register globals thing but I am not sure. THanks for you quick reply but tryed that and didn't work, its just the same. :( :( Link to comment Share on other sites More sharing options...
ErollorD Posted March 25, 2007 Share Posted March 25, 2007 what happens, do you get error or nothing happens? Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2007 Share Posted March 25, 2007 what happens, do you get error or nothing happens? HI there again thanks for the reply. The answer is nothing no error's it just goes back after i click deleat. I cant understand it??? Link to comment Share on other sites More sharing options...
ErollorD Posted March 25, 2007 Share Posted March 25, 2007 I think there is a problem with your hosting, try to contact your hosting provider about this problem... Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2007 Share Posted March 25, 2007 I think there is a problem with your hosting, try to contact your hosting provider about this problem... going to contact them tomorrow. Cant understand that when i installed ver 3 it works ok no prob's Link to comment Share on other sites More sharing options...
Velveeta Posted March 25, 2007 Share Posted March 25, 2007 going to contact them tomorrow. Cant understand that when i installed ver 3 it works ok no prob's Version 3 is written with support for register_globals being turned off, meaning it accesses any get or post variables in the proper form like $_GET['whatever'] or $_POST['whatever']... What it sounds like to me is that your register_globals patch isn't working quite properly, and so when the code is trying to reference $_GET['cPath'] as $cPath (which is how it's written to reference it originally I think), it's pulling a blank value... There is a very easy fix for register_globals which works most of the time, depending on your host, which is to put a php.ini file into both your catalog and admin directories, and just have 1 line in each of them that says: register_globals = on That will switch it on for your store, which the rest of the shared server accounts will keep it turned off. Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2007 Share Posted March 25, 2007 Version 3 is written with support for register_globals being turned off, meaning it accesses any get or post variables in the proper form like $_GET['whatever'] or $_POST['whatever']... What it sounds like to me is that your register_globals patch isn't working quite properly, and so when the code is trying to reference $_GET['cPath'] as $cPath (which is how it's written to reference it originally I think), it's pulling a blank value... There is a very easy fix for register_globals which works most of the time, depending on your host, which is to put a php.ini file into both your catalog and admin directories, and just have 1 line in each of them that says: register_globals = on That will switch it on for your store, which the rest of the shared server accounts will keep it turned off. Richard. Thanks for that Richard, when i have looked for the file php.ini i cant see it :( Link to comment Share on other sites More sharing options...
Velveeta Posted March 25, 2007 Share Posted March 25, 2007 Thanks for that Richard, when i have looked for the file php.ini i cant see it :( You have to create the php.ini file yourself, you just make a regular old text file, named php.ini, and just put that one line into it.. You'll need a copy of it both in your catalog and admin directories... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
Guest Posted March 26, 2007 Share Posted March 26, 2007 You have to create the php.ini file yourself, you just make a regular old text file, named php.ini, and just put that one line into it.. You'll need a copy of it both in your catalog and admin directories... Richard. Hi Richard thanks for that but :( it still didnt work i can add new products Categories but can deleat the main one's ie Hardware,Software and DVD Movies. Im just at a loss :( :( :( even if i try to edit them it just takes me back to the same screen and its not changed anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.