Click to See Complete Forum and Search --> : PHP Admin tool for Mac
Rocketpig
12-21-2005, 03:45 AM
Any suggestions? I am diving into my first experience with OSCommerce and step 2 is using an admin tool for PHP.
I have no idea what I'm doing here so any help would be great...
ecsyle
12-21-2005, 04:25 AM
What do you mean admin tool? You shouldn't have to edit any PHP with the store. If you need to edit though, I suggest a nice text editor or dreamweaver.
Rocketpig
12-21-2005, 04:30 AM
No, it turns out I didn't need it. My host has a MySQL database interface where I could set it up that way.
But that only got me so far... Now I need to figure out the database's physical address (which isn't listed anywhere I can find).
Gotta love it when a client chooses a host contrary to your recommendations... I'm tired of learning new interfaces every time I do a site but I guess that's just part of the game.
ecsyle
12-21-2005, 05:32 AM
More than likely you will use "localhost" for the database host. If not, then the user should have that information from when they signed up with the host.
Rocketpig
12-21-2005, 06:28 PM
Okay, I am completely lost here. Is there anyone here who has installed OSCommerce successfully? I'll be willing to pay if they can walk me through the process. I need to learn it but I cannot figure it out myself.
Any help would be greatly appreciated.
RP, why don't you just ask the host to install it for you?
Rocketpig
12-21-2005, 06:50 PM
Because the host is useless. They told me that OSCommerce is only a service they accomodate, not troubleshoot or install.
You have no idea how much I'd love to shove my foot up the host's ass right now.
ecsyle
12-21-2005, 06:50 PM
I have installed it once, long ago.
http://www.oscommerce.info/docs/english/e_web_based_installation_procedure.html
Should just be filling out forms. You will have to create the database and a database user first, then go to the installation. You will also need shell access, or a way to change file and directory permissions on the server.
EDIT: nevermind...
Because the host is useless. They told me that OSCommerce is only a service they accomodate, not troubleshoot or install.
You have no idea how much I'd love to shove my foot up the host's ass right now.
You know this, but you've got the wrong host. I would warn your client that you can't be held accountable if something happens on the server side -- data loss, etc.
For stuff like this? You want a host that will roll up their sleeves and dive in should anything go wrong now or in the future.
And stuff does happen. You're using an open source solution, so say something goes all wonkified if the host upgrades something or other on the server that conflicts with that version of the software? They won't troubleshoot??? B-A-D BAD.
I just had this happen to me a couple of weeks ago and it was not even open source (in short, they were way ahead of the game with a fix). But my host was right on it and helped me troubleshoot where the problem was. It took me half a day on Sunday to upgrade all the software with the patches, but without my host, I would STILL be scratching my head.
Warn your client and CYA.
Sorry rant over. I'm just irritated for you.
Rocketpig
12-21-2005, 07:01 PM
Sorry rant over. I'm just irritated for you.
Hahahah, thanks. Glad to know I'm not the only one who is irritated right now.
Well, where are you stuck now? Those instructions that ecsyle linked too look pretty good.
Anyway, you know I'm totally concerned for you. Do you know how this host does backup? If they actually said "accomodate" and not "support" that says to me they don't give two shits if something happens.
Find out if they do offsite backup every day. This is uber critical in case of a hardrive failure.
Rocketpig
12-21-2005, 07:15 PM
I pretty much decided to give the host the finger. I don't have time for this hassle and I'm going to transfer the domain to someone I trust (and with an e-commerce solution I am familiar with).
:)
I was stuck on ch modding some files and "touching" other files. Whatever the hell that means.
ecsyle
12-21-2005, 07:19 PM
chmod is a command line tool to change permissions. You should be able to do chmod from your FTP program as well.
Linux File Permissions & chmod (http://www.tuxfiles.org/linuxhelp/filepermissions.html)
Touch (http://www.computerhope.com/unix/utouch.htm)
Rocketpig
12-21-2005, 07:44 PM
Hey, thanks. I remember having to chmod something (I think it was a forum setup) a long time ago but for the life of me I can't remember how I did it.
How do you chmod or touch through an ftp program? I'm using Fetch btw.
I don't know about fetch (not all programs allow you to CHMOD I've noticed, some are easier than others -- SmartFTP I think is a good one). Usually it's just as simple as right clicking on the folder. It might be called CHMOD or Permissions or something along those lines, where there are three digits that you can edit.
Rocketpig
12-21-2005, 08:19 PM
Okay, thanks EC. I got the chmod part figured out. But I'm getting this error:
"cd /usr/local/psa/home/vhosts/voleraracing.com/httpsdocs/catalog/includes/"
Now, from my old DOS days I know cd means "create directory". And I've figured out the string from "voleraracing.com/httpsdocs/catalog/includes/". That was no problem.
But what the hell is the "/usr/local/psa/home/vhosts/" part? I don't understand that at all.
mmm, looks like a server path.
ecsyle
12-21-2005, 08:29 PM
cd is change directory. It is how you move to a new directory.
/usr/local/psa/home/vhosts/ is the absolute path to the virtual hosts for your machine.
Patrick Shannon
12-21-2005, 10:06 PM
Hey, thanks. I remember having to chmod something (I think it was a forum setup) a long time ago but for the life of me I can't remember how I did it.
How do you chmod or touch through an ftp program? I'm using Fetch btw.
Are you working in command line in any way? I'm a little rusty since I haven't worked with site permissions in a while, but chmod is really simple with command line, "chmod 777 <filedirectory>" (I think that was it).
Two such commands that I used more than anything is chmod 755, which I believe makes files executable and chmod 777, which adds read/write permissions to directories. There's all kinds of chmod commands.
Rocketpig
12-21-2005, 11:01 PM
Are you working in command line in any way? I'm a little rusty since I haven't worked with site permissions in a while, but chmod is really simple with command line, "chmod 777 <filedirectory>" (I think that was it).
Two such commands that I used more than anything is chmod 755, which I believe makes files executable and chmod 777, which adds read/write permissions to directories. There's all kinds of chmod commands.
No, I used Smart FTP to modify the permissions as EC suggested.
I think I went into the command line last time I did it... But that was a long time ago.