1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, we are temporarily disabling the ability to create new accounts for the forums. Please feel free to open a support ticket through out client area with any support issues. You can also search the forums for answers to many questions.

mod_rewrite problem

Discussion in 'General' started by dg_name, Mar 7, 2008.

Thread Status:
Not open for further replies.
  1. dg_name

    dg_name New Member

    Hi, I've just installed the trial version and I'm very impressed, except:

    The site where I need to install this makes use of mod_rewrite for search engine friendly URLS, if I install the calendar here (for instance):


    And require the script from this page:


    ( using require ("../calendar/calendar.php") )

    I receive the message "Zend Optimizer not installed"

    On the other hand if I remove my .htaccess file and set up a script here:

    http://mydomain.com/SomeDirectory/calendar_test.php using the same require code, the calendar displays perfectly.

    Is the script getting confused as to where the Zend Optimizer can be found because of my .htaccess mod_rewrite code? Is there a way to set that path manually and absolutely to get around the issue? Or is there some simpler way to make this work?

    Any advice would be very much appreciated!

  2. Brian

    Brian EPC Developer Staff Member

    The server is confused, not the script. The calendar never directly accesses Zend. It just depends on the server to provide it. So the issue is with the server. Check with your server administrator and see if they know how to resolve this. It may need a custom htaccess or php.ini file.
  3. dg_name

    dg_name New Member

    Solution (partial)

    If anyone else has this problem, I figured out that I needed to exclude file type "so" in my .htaccess code, so a line like this:

    rewriterule !\.(gif|jpg|png|js|css|php|html|mp3|pdf|swf|xml)$ /index\.php

    should become this:

    rewriterule !\.(so|gif|jpg|png|js|css|php|html|mp3|pdf|swf|xml)$ /index\.php

    the mod_rewrite code prevented the Zend so file from being opened I guess.

    I'm still working on a server path error problem, but hopefully this will save someone else some hair pulling... :classic:
Thread Status:
Not open for further replies.

Share This Page