Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I think I am going crazy! cant install osCommerce on my host!


johan184

Recommended Posts

After a week of testing and optimizing my shop in my local server I decided to go wild and put it up on a real host.

 

Now after hours of waiting to get my account and everything I was going to install it. But what do you know it didnt work. first on my primary computer it just went blank when just going in root(www.mysite.com) when on my local server it redirecting to the install. When I try to go in the install manually www.mysite.com/install/install.php I can only see:

 

New Installation

 

Please customize the new installation with the following options:

 

then the rest is just empy space. after som hours of searching for what could cause this problems I getting nowhere near solving the problem. doesnt say whats wrong or anything.

 

Then just before I was going to sleep I took my Ibook 12" and checked it there. then it actually shows an error mess :

 

"Fatal error: Call to undefined function osc_draw_checkbox_field() in /customers/johansoftware.com/johansoftware.com/httpd.www/install/templates/pages/install.php on line 24"

 

If any of you have any idea on what could be wrong please let me know. this is killing me slowly right now.

 

 

For the rcord I am using a contribition version of osCommerce 2.2 with globals off, dont think thats the problem becouse it runs the installation perfect on my local server. my guess and hopefully is that my hast hasnt turn some support on yet or something. but I have really no idea....

 

please...please! help me

Link to comment
Share on other sites

After a week of testing and optimizing my shop in my local server I decided to go wild and put it up on a real host.

 

Now after hours of waiting to get my account and everything I was going to install it. But what do you know it didnt work. first on my primary computer it just went blank when just going in root(www.mysite.com) when on my local server it redirecting to the install. When I try to go in the install manually www.mysite.com/install/install.php I can only see:

 

New Installation

 

Please customize the new installation with the following options:

 

then the rest is just empy space. after som hours of searching for what could cause this problems I getting nowhere near solving the problem. doesnt say whats wrong or anything.

 

Then just before I was going to sleep I took my Ibook 12" and checked it there. then it actually shows an error mess :

 

"Fatal error: Call to undefined function osc_draw_checkbox_field() in /customers/johansoftware.com/johansoftware.com/httpd.www/install/templates/pages/install.php on line 24"

 

If any of you have any idea on what could be wrong please let me know. this is killing me slowly right now.

For the rcord I am using a contribition version of osCommerce 2.2 with globals off, dont think thats the problem becouse it runs the installation perfect on my local server. my guess and hopefully is that my hast hasnt turn some support on yet or something. but I have really no idea....

 

please...please! help me

 

if you want you can check it out here: www.johansoftware.com/install/install.php

Link to comment
Share on other sites

Does the install/includes/functions/html_output.php file exist?

 

I think it did, I have removed all my dirs now but yesterday I uploaded the files like 5 times. But anyway I am finally getting somewhere, today I changed register_globals to ON on the server and tested the official osCommerce package and it seems to work better.

 

Are there anysecurity reasons that I should have globals settings to OFFm I only have the shop in the server....

 

/Johan

Link to comment
Share on other sites

From what I understand, the use of globals in osC is quite minimal so not a great security risk to have them enabled. If there is a risk, it is from badly written applications, which isn't the case with osC. That said, if you intend to share your server eventually, then maybe it could become an issue with scripts from other users.

Link to comment
Share on other sites

From what I understand, the use of globals in osC is quite minimal so not a great security risk to have them enabled. If there is a risk, it is from badly written applications, which isn't the case with osC. That said, if you intend to share your server eventually, then maybe it could become an issue with scripts from other users.

 

Ok thanks, I have installed it now, got some other problems on the way but almost no mather what the problem is there olways is somebody that hade the same problem and solved it here =). not its only a warning message that the configure.php is writeble wich I am pretty sure ITS not so I dont know why it doe that, but I think I will solve this soon.

 

 

Thank you so much for helping me.

Link to comment
Share on other sites

On some hosts is_writeable() seems to return an incorrect value. Dunno why. You can check against the permissions directly if is_writeable() doesn't return correctly:

 

http://www.oscommerce.com/forums/index.php?showtopic=165080&hl=

 

thanks for the tip, but I tried to make the changes you suggest for the solution but I only get this message instead:

 

Warning: I am able to write to the configuration file: /customers/johansoftware.com/johansoftware.com/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

0755

 

instead of the ordinary:

 

Warning: I am able to write to the configuration file: /customers/johansoftware.com/johansoftware.com/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

 

but theres no hurry I have a lot of other stuff to fix before solving this problem, guess I could always disabling it aswell....

 

thank you for your time in this problem.

Link to comment
Share on other sites

Umm, that's because you didn't change the if statement. Read through the whole thread, not just the first response.

 

 

hehe lazy me, no its works, but just so I know, whats the best permissions to have on the server? is it 444, becouse my server or ftp program seems to changing it back to 0644 all the time.

 

But I now understand you fix to this problem atleast.

 

thanks.

Link to comment
Share on other sites

If you are the owner of the file, then permission must be at least 600 for you to change it (upload a new file via FTP). I cannot tell you what the permissions must be because they can be completely different for every server. 444 is good because it's read-only across the board. You have to remember to reset permissions to 444 everytime you change the file.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

If you are the owner of the file, then permission must be at least 600 for you to change it (upload a new file via FTP). I cannot tell you what the permissions must be because they can be completely different for every server. 444 is good because it's read-only across the board. You have to remember to reset permissions to 444 everytime you change the file.

 

 

oh ok I see. thanks for the information.

 

feels so bad to be a total n00b =).

 

/johan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...