Magento 1.4 Install Errors

We imagine there is going to be a few, but here are the ones we have come across so far:
  • 1

    Unsupported operand types ... Hostname.php Solution: Comment out line +471 in ./lib/Zend/Validate/Hostname.php
    #$regexChars += include($this->_validIdns[strtoupper($this->_tld)]);
  • 2

    Invalid mode for clean Solution: Remove ./app/code/core/Zend/Cache/
  • 3

    Invalid argument supplied for foreach ... toolbar.phtml This is due to a change of the way the pagination works, usually that the template is missing the relevant XML block to load and the subsquent PHP call Solution: Create a new file ./template/catalog/product/list/pager.phtml and enter
    getCollection()->getSize()): ?>
            getLastPageNum()>1): ?>
                __('Page:') ?>
      isFirstPage()): ?>
    1. <?php echo $this->__('Previous Page'); ?>
    2. getPages() as $_page): ?> isPageCurrent($_page)): ?>
    3. isLastPage()): ?>
    4. <?php echo $this->__('Next Page'); ?>
    Edit ./layout/catalog.xml and add:
    Then edit ./template/catalog/product/list/toolbar.phtml and replace code between (and including) [approx. line 44 to line 63]
    getLastPageNum()>1 && is_array($this->getPages())): ?>
    getPagerHtml(); ?>
  • 4

    During installation, blank page after database details Solution: Albeit not a solution, more of a hack. 1) You get to the administrator stage and the page is blank 2) Rename ./app/etc/local/xml to ./app/etc/local.xml.old 3) Reload the page, and it the fields will appear. 4) Restore ./app/etc/local.xml 5) Fill in the fields as usual and click submit 6) The next page will be blank, but the information will have saved correctly.
  • 5

    There has been an error processing your request #1424782433 Errors are hidden by default in 1.4, so you will need to open the file using command line or FTP. Solution: Open./var/report/1424782433/ OR If you are developing, add this to your .htaccess file