Run a symfony project on hostgator - deployment

I have been trying to run a symfony project I created recently using symfony 1.4.
But pointing to the url (xyz.in) simply shows up the directory structure of the application
In the CPanel I have edited the document root to be upto app/web/ directory
After doing this all I can see is a blank page and nothing else.
What might be wrong? What are the necessary steps for deploying a symfony project to a shared hosting?

You can check the rights on cache and log directories, Apache needs write rights. Ther are many problems with symfony and shared hosting, but it's not an impossible task.

Related

Getting requests only in one computer in UmbracoApi

I have a Umbraco API project that using the UmbracoCms library V 7.15.3. The project work properly, but from some reason after that i copy the project to another computer. The API stop to work there and requests did not comes to the controller.
Is there a reason for something like this to happen?
Umbraco gives you a web application which you need to install and setup somewhere before it will work.
You probably used their installer initially which created an IIS website and a database for you. You don't need to re-run the installer, but you do need to copy the database and all the files and re-create the website in IIS on the other computer.
Simply moving files around is not enough.

Magento New Installation - Backend is working however frontend points to the old URL

Tried the recommendation on several threads. Here is the issue. The admin is working and updated the new DB fine. When you view the site from the frontend the product data, images, and links all point to the original site.
I Began by creating a new DB and importing a back up of the other Magento DB. The DB has a different name, the login and pw are different as well.
I modified the secure and unsecure URLs in the core_config_data table. I then installed a fresh copy of Magento (same version as my old site ver. 1.7.0.2).
I emptied the log tables which contained the old URL as well.
I looked at the local.xml file which had the correct settings.
Please keep in mind I have not added any source files from the old site. The olny thing that is from the old site is the DB.
Any other advice would be huge! Thanks in advance.
I never could get to the bottom of it. I simply uploaded fresh install of Magento and imported the data and it worked.

Error in Magento Test Automation Framework (MTAF)

I have installed magento test Automation framework in local machine as below reference PDF.
http://www.magentocommerce.com/images/uploads/download/MagentoTestAutomationFrameworkInstallationGuide.pdf
All the installation setup has completed as per the reference.
After that i have added my project to netbeans. When i try to add the project in netbeans it seems error.
Below is the error message, which is i got from netbeans.
magento\app\design\adminhtml\default\default\template\catalog\product\attribute\js.phtml
This is my first try of Magento test automation tools. i don't know what was went to wrong.
Any help my appreciation.
Perhaps you can try changing a bit the directory structure
From
magento\app\design\adminhtml\default\default\template\catalog\product\attribute\js.phtml
To
magento\app\design\adminhtml\default\template\catalog\product\attribute\js.phtml
In my experience, Magento directory structure changes across its versions.

Configuring the webserver on a production site for Symfony

I am setting up my Symfony project on the production site. # this point it states:
This project uses the symfony libraries. If you see no image in this page, you may need to configure your web server so that it gains access to the symfony_data/web/sf/ directory.
Which basically means, I need to get into httpd.conf file and make some changes (for those who have diligently followed the Symfony tutorials, you guys know what I am talking about). Given this situation, I am not sure how I can go about configuring the httpd.conf file on the production server.
Anyone have any strategies around this? Thanks,
Parijat
You can do it by adding symbolic link from your symfony_data/web/sf to web/sf but your web server must follow symbolic links or you can add "Options Indexes FollowSymLinks" in to your .htaccess

How to deploy a Zend Framework app on Heroku?

Basically for a Facebook tab I have a PHP app and want Heroku to use the 'public' folder as the web server's root folder instead of pointing to the very root of the app. Any help would be awesome as it seems Heroku doesn't have a ton of documentation around it's config options. Thank you.
I hosted my php codeigniter project on heroku lastmonth, so unless there is a server side configuration needed for your project. You should be able to host your zend project by pushing it as git repository to heroku. Just follow these tutorials.
http://www.youtube.com/watch?v=L2YlEIMrGxA
https://devcenter.heroku.com/articles/facebook
Not sure of that but Heroku's website says "Agile deployment for Ruby, Node.js, Clojure, Java, Python, and Scala.". But since there's no mention of PHP I think you can't deploy your Zend app on Heroku.
EDIT : my assertion was false, see comments
Thats not entirely correct (or no longer correct) - if you put a repository with an index.php in the root up it seems to recognise that as a php app.
The answer is not yet at least. They only offer the Facebook app hosting. I have gone with PHPFog for quick PHP hosting now.
EDIT: PHPFog is no more, now they have AppFog.