SourceForge has been redesigned. Learn more.
Close

Rewrite probem

Help
2009-03-27
2012-10-29
  • Tomislav Jakopec

    I setup FEZ + FEDORA and I have couple off problems
    1. sanity check error
    Fatal error: Call to a member function getMessage() on a non-object in /home/tjakopec/fez-2.1_rc3/include/class.sanity_checks.php on line 531

    1. record view problem (rewrite problem)
      when I write (by hand)
      http://161.53.204.143/fez/view.php?pid=zdr:4
      I can see the recodr BUT when FEZ try to call with
      http://161.53.204.143/fez/view/zdr:4
      it give a message
      Error: The object could not be found.

    I think it's a rewrite problem.
    This is my .htacces
    RewriteEngine on
    RewriteRule ^view/([A-Za-z]+):([0-9]+)(\?.)$ view.php?pid=$1:$2$3 [L,QSA]
    RewriteRule ^eserv/([A-Za-z]+):([0-9]+)/(.+)(/.+)$ eserv.php?pid=$1:$2&dsID=$3$4 [L,QSA]
    RewriteRule ^community/([A-Za-z]+):([0-9]+)$ list.php?community_pid=$1:$2 [L,QSA]
    RewriteRule ^community/([A-Za-z]+):([0-9]+)/(.+)$ list.php?community_pid=$1:$2&$3 [L,QSA]
    RewriteRule ^collection/([A-Za-z]+):([0-9]+)$ list.php?collection_pid=$1:$2 [L,QSA]
    RewriteRule ^collection/([A-Za-z]+):([0-9]+)/(.+)$ list.php?collection_pid=$1:$2&$3 [L,QSA]
    RewriteRule ^list/([^/]
    )/([^/])(/?)$ list.php?browse=$1&value=$2 [L,QSA]
    RewriteRule ^list/(.
    )$ list.php?$1 [L,QSA]
    RewriteRule ^robots.txt$ robots.php [L]

    This is my TWO problem, please help

    Site addres is
    http://161.53.204.143/fez
    user admin
    pass admin

     
    • Tomislav Jakopec

      1. problem still remains!!! PLEASE HELP

      2. problem
        SOLUTION
        create dir view and eserv in $FEZ

       

Log in to post a comment.