skip to Main Content

Why am I getting the wrong document root? – Apache

I am working through this tutorial- https://docs.zendframework.com/tutorials/getting-started/skeleton-application/ In trying to get it setup on an Apache local server I have used this code- <VirtualHost *:80> ServerName zf-tutorial.localhost DocumentRoot /var/www/html/skeleton-application/public SetEnv APPLICATION_ENV "development" <Directory /var/www/html/skeleton-application/public> DirectoryIndex index.php AllowOverride All Require all…

VIEW QUESTION

Error Creating Custom table in Magento 1.9 for Custom Module

I've created a custom Magento plugin, and everything is working fine, except the database creation. Here is my SQL code. <?php $installer = $this; $installer->startSetup(); $installer->run(" -- DROP TABLE IF EXISTS {$this->getTable('store_city')}; CREATE TABLE '{$installer->getTable('store_city')}'( `city_id` int(11) unsigned NOT NULL…

VIEW QUESTION
Back To Top
Search