Jump to content

safewithyou247

Members
  • Posts

    15
  • Joined

  • Last visited

safewithyou247's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. You have one of two options. 1. Use Simple Mode for installation 2. Follow the steps that I have outlined above.
  2. If you have ever needed to add more than 7 colors or paterns to a product then I am sure that you have run into the fact that PrestaShop is only configured for one row of colors. So...what do you do about it? Well, I have the answer for you. Below are the steps to fixing this issue and I would strogly recomend that it me added to the build of PrestaShop! First we need to write some code to handle different ammounts of colors or paterns. Browse to "\themes\prestashop\product.tpl" and open it with your favorite text editor (mine is Notepad++). Locate the below line of code. Replace it with the below code (you can just copy and paste). {if count($colors) >0 && count($colors) <=7}{/if} {if count($colors) >7 && count($colors) <=14}{/if} {if count($colors) >14 && count($colors) <=21}{/if} {if count($colors) >21 && count($colors) <=28}{/if} {if count($colors) >28 && count($colors) <=35}{/if} {if count($colors) >35 && count($colors) <=42}{/if} {if count($colors) >42}{/if}
  3. So, have you ever wondered how to change the Powered by PrestaShop link on the footer? Or, have you ever wondered, how do I get that dang footer centered? Well, this how to guide is for you. You will need to open the following file in your fovorate text editor. (Notepad++ for me!) Browse to "\modules\blockvariouslinks". Open "blockvariouslinks.tpl". You will see the below text. > <!-- MODULE Block various links --> </pre> <ul> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {foreach from=$cmslinks item=cmslink} {$cmslink.meta_title|escape:'htmlall':'UTF-8'} {/foreach} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ </ul> <br><!-- /MODULE Block various links --&gt Change the code to the following code (you can just copy and paste if you want). > <!-- MODULE Block various links --> </pre> <ul style="text-align:center;"> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {foreach from=$cmslinks item=cmslink} {$cmslink.meta_title|escape:'htmlall':'UTF-8'} {/foreach} <!--{l s='Powered by' mod='blockvariouslinks'} PrestaShop™ --> </ul> <br><!-- /MODULE Block various links --&gt Thats it. If you want to add additional links to the footer you can do it in this file. This is just a html unordered list. Make sure you dont change any of the code in "{}". Hope it helps!
  4. The error seems to be due to the fact that I am using Full Mode and not Simple Mode. Browse to \install\sql\db_settings_extends.sql. Open the file and edit the following lines of code. INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`) VALUES (1, 7, 23, 1); INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`) VALUES (1, 9, 0, 1); Replace them with the below code. And boom! You fixed your problem. INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`, `date_add`) VALUES (1, 7, 23, 1, NOW()); INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`, `date_add`) VALUES (1, 9, 0, 1, NOW());
  5. Error while inserting data into the database: 'INSERT INTO `ps_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`) VALUES (1, 7, 23, 1)' Field \'date_add\' doesn\'t have a default value(Error: : 1364) Above is the error that I get when trying to install PS v1.1 on MySQL 5.1. Can anyone assist me with this issue? Thanks,
  6. First of all I am going to be following the Install Guide posted here - http://www.prestashop.com/wiki/Getting_Started/#Install_PrestaShop.'>http://www.prestashop.com/wiki/Getting_Started/#Install_PrestaShop. Before you setup you PrestaShop webpage in IIS there is some pre-work that we will need to do. Lets start with installing PHP 64-bit. 1. Goto http://fusionxlan.com/PHPx64.php to get the latest build of php for 64-bit platforms. (during time of writing "php-5.2.5-x64-2007-11-12.zip" is the most current build) 2. Create a folder on your computer "C:\PHPx64". I perfer using the root directory but you can use any path that you would like. 3. Extract all of the files and folders in the "php-5.2.5 (x64)" folder to the folder you just created. "C:\PHPx64" 4. Rename php.ini-recommended to php.ini 5. Uncomment cgi.force_redirect in php.ini and set equal to 0 (cgi.force_redirect = 0). 6. Create a session state folder and point the session.save_path php.ini variable to it. I created C:\PHPx64\Sessions. Change the value of the session.save_path variable in php.ini to be the full path to that folder (session.save_path=C:\PHPx64\Sessions). 7. Uncomment the following extensions; extension=php_gd2.dll extension=php_msql.dll extension=php_mssql.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo.dll extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll 8. Add "C:\PHPx64" to the server's PATH environment variable - right-click on My Computer, choose Properties - flip to the Advanced tab - click the Environment Variables button -Double-click the Path variable in the list of System variables. - Add "C:\PHP;" (sans quotes) to the beginning. -The new PATH will be available to any new command prompt, but not to existing ones; bounce the server if you want to be sure that it will take effect. 9. Add to the registry HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath = C:\PHPx64 - Open Regedit - Browse to HKLM\Software - Add key "PHP" - Add string "IniFilePatch" Value "C:\PHPx64" Ok now you got PHP configured. Let's move onto configureing IIS 6.0 For these steps, open IIS Manager (Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager). 1. Add and allow the PHP ISAPI Extension to IIS Web Service Extensions: C:\PHP\php5isapi.dll - Expand the local computer in the left pane - Click on "Web Service Extensions" in the left pane - In the right pane, click the blue underlined text, "Add a new Web service extension..." - Enter "PHP ISAPI Extension" as the "Extension name" - Click the "Add..." button and browse to the php5isapi.dll file in your PHP install folder - Check the "Set extension status to Allowed" checkbox and click "OK" 2. Add new extension (.php) - Expand the local computer in the left pane - Right-click on "Web Sites" in the left pane, then click "Properties" in the menu that pops up - Flip to the "Home Directory" tab - Click "Configuration" - Flip to the "Mappings" tab - Click "Add..." - Enter the full path to php5isapi.dll in the "Executable" textbox (Browse... to find it more easily if you need to) - Enter ".php" in the "Extension" textbox - Select radial button "Limit to", enter "GET,POST,HEAD" (sans quotes) - Click "OK" all the way out Now follow steps 3, 4, 5, and 6 in the Install Guide here http://www.prestashop.com/wiki/Getting_Started/#Install_PrestaShop Lets go back to IIS and setup the website. I will assume that you are using the "Default Web Site". 1. Create new virtual directory - Right-click on the "Default Web Site" in the left pane - Select New -> Virtual Directory - Name it "Prestashop" (or whatever you want) - Browse to the directory that you extracted PrestaShop too - Make sure Read and Run Scripts are checked 2. Change "Default Content Page" to "index.php" - Right-click "Prestashop" in left pane and select "Properties" - Select the "Documents" tab - Delete all files listed in the list box - Click "Add" - type "index.php" and select ok Make sure you have created a MySQL database for PrestaShop. Continue onto step 7 and 8 and you are done! Hope this helps. Please let me know if you have any questions.
  7. Is there a specific file that I need to run in the install directory to install prestashop?
  8. Can you give me the steps that you took to install? Also, did you use IIS or Apache?
  9. Hey All, I am new to prestashop but I am fairly experienced in website deployment. I have followed the directions on the wiki and I am having some issues. Ok, here is what I got. Windows 2k3 Server R2 64-bit, IIS 6.0, PHP 5.2.8.8, SQL 2008, and PrestaShop 1.1 beta 4. First off, I don't know if prestaship can be run on SQL 2008 and I will install MySQL if needed. If anyone has experience running on SQL 2008 please post the info needed to run the app in such a way. I have downloaded the zip file and extracted it to my web directory. I have created a virtual directory from my root site. Example dwsolutions.org/presta. I have also changed the permissions on all the folders detailed in the wiki. Furthermore, I have verified that PHP has a web service extender allowed and I have added a .php file extension. So, when I try to browse to "dwsolutions.org/presta/install" just like the directions say to do. When I browse to this location I get a 403:14 error. This error is basically stating that I need to enable browse access to the following directory. Since this is a directory, it would seem that I need to enable directory browsing but this does not help the installation process. So, this is the point that I am at, I cannot run the installation because there is no file referenced. Is there as specific path that needs to be run for the installation? Please let me know if you have any questions that I need to clarify. Thanks.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More