Hi everyone!
Right am a newcomer to Opencart following a recommendation from a buddy who used to be a freelancer.
I was asked to develop an online shop and whilst I have it installed and running locally on my Macbook, I need to get it transferred to their hosting provider, which just happens to be Fasthosts running Windows 2003.
Now... here's where I got a little confused as there is a config option in the Fasthosts user panel to go from static (currently active) single page website to 'Dynamic' (Claiming to support scripts and PHP), one was a little worried about server configuration as I thought it needed to be hosted on Apache, not Windows 2003 and there appears to be no option to switch.
Now the account is due to renew in about 5-6 months, but the website is due in 2 (having only started last week and already have the design approved, prior to me starting work on the CSS template), so I can't wait that long to change it over.
The question is... (at last)... will it make any difference if I install it on a supposedly PHP friendly Windows hosted server? Or do I need to get in touch with Fasthosts and get it switched?
Answers much appreciated!!!
Jon
Right am a newcomer to Opencart following a recommendation from a buddy who used to be a freelancer.
I was asked to develop an online shop and whilst I have it installed and running locally on my Macbook, I need to get it transferred to their hosting provider, which just happens to be Fasthosts running Windows 2003.
Now... here's where I got a little confused as there is a config option in the Fasthosts user panel to go from static (currently active) single page website to 'Dynamic' (Claiming to support scripts and PHP), one was a little worried about server configuration as I thought it needed to be hosted on Apache, not Windows 2003 and there appears to be no option to switch.
Now the account is due to renew in about 5-6 months, but the website is due in 2 (having only started last week and already have the design approved, prior to me starting work on the CSS template), so I can't wait that long to change it over.
The question is... (at last)... will it make any difference if I install it on a supposedly PHP friendly Windows hosted server? Or do I need to get in touch with Fasthosts and get it switched?
Answers much appreciated!!!
Jon
Well it should work but can't be sure before you do
the install

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
Good luck 
Let us know how it went!

Let us know how it went!
The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
OK have tentatively tried it and met my first error message instantly upon refreshing the cache!
Warning: require_once(/Applications/MAMP/htdocs/oc/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in \\NAS42ENT\domains\m\ clientsite.co.uk\user\htdocs\index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/oc/system/startup.php' (include_path='.;C:\php5\pear') in \\NAS42ENT\domains\m\clientsite.co.uk\user\htdocs\index.php on line 12
now... /Applications/MAMP/htdocs/oc/ is the folder where I have been working on the OC site (real URL edited out for purposes of security as not yet fully confident of security!) and whilst the startup.php file is in the folder as it was on my local drive/host (the Macbook Pro!) it would appear that it is breaking the link somehow once FTP'd up... could it be that it is a Windows Host (Fasthosts) and as such it may not have the folder structure that I need?
Thoughts anyone? Been a long day and am not feeling very creative!
Thanks in advance!
Warning: require_once(/Applications/MAMP/htdocs/oc/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in \\NAS42ENT\domains\m\ clientsite.co.uk\user\htdocs\index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/oc/system/startup.php' (include_path='.;C:\php5\pear') in \\NAS42ENT\domains\m\clientsite.co.uk\user\htdocs\index.php on line 12
now... /Applications/MAMP/htdocs/oc/ is the folder where I have been working on the OC site (real URL edited out for purposes of security as not yet fully confident of security!) and whilst the startup.php file is in the folder as it was on my local drive/host (the Macbook Pro!) it would appear that it is breaking the link somehow once FTP'd up... could it be that it is a Windows Host (Fasthosts) and as such it may not have the folder structure that I need?
Thoughts anyone? Been a long day and am not feeling very creative!
Thanks in advance!
Ok I was being a muppet and forgot to swap the config.php settings from local to actual web host - but when I did and reloaded the config.php in the root htdocs folder i get the same message.... nooooooo!
What am I doing wrong that is no doubt painfully obvious but not apparent to me!?
Ok I was being an idiot and I had uploaded my backup copy and not realised it, however it did present and interesting problem which was when the correct file was uploaded it threw up a scary and unintelligible error before corrupting the config.php file!?!?!
Two things spring to mind:
1. It's not meant to be.
2 Don't work on websites when you are too tired to think
What am I doing wrong that is no doubt painfully obvious but not apparent to me!?

Ok I was being an idiot and I had uploaded my backup copy and not realised it, however it did present and interesting problem which was when the correct file was uploaded it threw up a scary and unintelligible error before corrupting the config.php file!?!?!
Two things spring to mind:
1. It's not meant to be.
2 Don't work on websites when you are too tired to think
Ok we gave in and got them to change it to Linux!!!
The only downside is that although I can get to the registration section of a fresh install, i can't seem to get it to accept the database / password details no matter what I try! Have even tried copying the old config files across first but that then produces the same old error that I was seeing before...!!! aaargh
any ideas anyone!? If i see "Error: Could not connect to the database please make sure the database server, username and password is correct!" I am going to break something
So let me get this right - i have installed phpmyadmin, which is working fine and created a database through fasthosts - the database has been given a proprietary name and is empty - no tables, no data.
I have assigned a user with admin rights to the database and have checked that the passwords are all correct.
And it still doesn't accept it.... Could it be because I am on a temporary url assigned by fasthosts until they finish setting things up?

The only downside is that although I can get to the registration section of a fresh install, i can't seem to get it to accept the database / password details no matter what I try! Have even tried copying the old config files across first but that then produces the same old error that I was seeing before...!!! aaargh
any ideas anyone!? If i see "Error: Could not connect to the database please make sure the database server, username and password is correct!" I am going to break something
So let me get this right - i have installed phpmyadmin, which is working fine and created a database through fasthosts - the database has been given a proprietary name and is empty - no tables, no data.
I have assigned a user with admin rights to the database and have checked that the passwords are all correct.
And it still doesn't accept it.... Could it be because I am on a temporary url assigned by fasthosts until they finish setting things up?
Quick update, got loads of stuff sorted tonight, not sure how but just reset passwords, clean install, all looking fine until blam, copied my config and image files over, uploaded the database backup with the product structure and test data in it and guess what? Error: Could not connect to database
AArgh! lol Any thoughts? I have been through just about everywhere checking for typos.. the only address that I have specified for the database is the IP address.
Thoughts?
AArgh! lol Any thoughts? I have been through just about everywhere checking for typos.. the only address that I have specified for the database is the IP address.
Thoughts?
lol just spotted that - have got it up and running using the default install and templates.
Database looks like its running ok. Now i can get connected will try the restore from within OC and following that time to copy (VERY carefully over the modded template!)
Sorry for being a muppet guys...
Database looks like its running ok. Now i can get connected will try the restore from within OC and following that time to copy (VERY carefully over the modded template!)
Sorry for being a muppet guys...
Ok so I worked through it again one last time, got a fresh default install and then restored the OC backup sql which even brought in my slightly modded template!
Result!!! Thanks everyone for your help, much appreciated and if I can ever help in any way with any CSS work (only started looking at PHP this last week or so) then let me know! I think some templates are called for once I finish this project off!
Thanks once again!
Result!!! Thanks everyone for your help, much appreciated and if I can ever help in any way with any CSS work (only started looking at PHP this last week or so) then let me know! I think some templates are called for once I finish this project off!
Thanks once again!
Who is online
Users browsing this forum: No registered users and 24 guests