Jump to content

Prestashop in MS Azure cloud...


Recommended Posts

Hi to all,

 

I just made a full backup of my prestashop files and DB and imported both on 2 new hosting environment for testing. This clone of my actual website is located in the MS Azure cloud.

 

I changed all information regarding new DB and URls in both DB tables as well as in config file.

 

My clone website shoul run on: dekom.cloudapp.net/prestashop but it is loading very strange.

 

Any suggestions?

 

Ty

Dean

Link to comment
Share on other sites

What is CCC exactly?

 

P.S.

 

I deleted all contents of cache folder but problem is still there.

 

hm and it is strange that it pulls CSS from that path, when the whole PS is located in:

 

http://dekom.cloudapp.net/prestashop

Edited by Dolke (see edit history)
Link to comment
Share on other sites

Yes, thanks.

 

I tried that also but it is still not working ok...

 

Im able to enter my backend, all seems to be ok but not on the front end as well.

 

Also what ever link I hit it gives me object not found...

 

http://dekom.cloudapp.net/prestashopsr/[spam-filter]rezervni-delovi-za-klima-i-rashladne-uredjaje-u-kuci

 

maybe this has something to do with it? It is extension for Serbian language...

Edited by Dolke (see edit history)
Link to comment
Share on other sites

My prestashop website is in the folder called prestashop.

 

When ever I click on some link im getting prestashopsr which isn't ok. It would be ok something like prestashop/sr.

 

Also, image search path should look like /prestashop/img

 

What can I do?

Link to comment
Share on other sites

Your current code is looking for your theme here,

 

prestashopthemes/default

 

It's looking for modules here,

 

prestashopmodules/

 

Images here,

 

/prestashopimg/

 

And it thinks it is in a directory called prestashopsr/

 

 

Do you have friendly URLS on ?

 

If so please turn off friendly URLS.

  • Like 1
Link to comment
Share on other sites

Thank you for the suggestion Bill.

 

Ill look at this file and get back here with the resuilts.

 

Yes, I'm using xampp for windows as this website clone is now hosted in the Windows Azure Cloud.

I'm not familiar with this environment at all .This is just what my friend offered me to test my Prestashop website behavior as he has some good package purchased from Microsoft and hes familiar with the windows platforms instead of Linux.

 

The main reason for this testing is CSV import option and some other advanced Prestashop features that are not working well on my shared hosting with HostGator nor with their VPS plans (I tried them both).

 

I want to see if I will have same issues now when the website is in the cloud.

 

I will write soon.

Dean

Link to comment
Share on other sites

This is the contents of the file Bill:

 

# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
   ##ServerAdmin [email protected]
   ##DocumentRoot "C:/xampp/htdocs/dummy-host.localhost"
   ##ServerName dummy-host.localhost
   ##ServerAlias www.dummy-host.localhost
   ##ErrorLog "logs/dummy-host.localhost-error.log"
   ##CustomLog "logs/dummy-host.localhost-access.log" combined
##</VirtualHost>
##<VirtualHost *:80>
   ##ServerAdmin [email protected]
   ##DocumentRoot "C:/xampp/htdocs/dummy-host2.localhost"
   ##ServerName dummy-host2.localhost
   ##ServerAlias www.dummy-host2.localhost
   ##ErrorLog "logs/dummy-host2.localhost-error.log"
   ##CustomLog "logs/dummy-host2.localhost-access.log" combined
##</VirtualHost>

Link to comment
Share on other sites

Dolke, I use IIS 8. Sorry I can't help. Hopefully someone else that uses WAMP can help.

 

That said, I'm still not sure if you copied a previously installed version of prestashop from another box or if you installed a fresh copy of PS?

 

If you did just upload a previously installed version of PS, I recommend you try installing a new installation with a new database.

 

Also, I removed your post #13, it contained data that could potentially give access to your server.

Link to comment
Share on other sites

Thanks Bill.

 

@yaniv14

 

I updated this value as you suggested but when I'm going to my front end it redirect me to prestashop/sr/ and gives me 404, object not found.

 

I also tried to add prestashop/sr/ as my base URL and when I do that it loads the page as shown on the printscreen below.

 

post-525426-0-02174900-1372065040_thumb.jpg

 

Any suggestions?

Edited by Dolke (see edit history)
Link to comment
Share on other sites

Thank you. With the help from @yaniv14 I managed to make my clone website work on the MS Azure Cloud virtual machine.

 

I must say that it is working slower (not to much though) then on the HostGator shared server.

Problems with the CSV import functionality, image rebuilding, index rebuilding are also present, so changing the hosting environment in order to fix this issue hasn't been successful.

 

Also I would like to thank Mr. Bill Dalton for noticing some vulnerable info that I have left in the posts and for clearing them from the topic. Thanks Bill.

Edited by Dolke (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...