1.2 Installations Problems

Discussion in 'Installation and Updates' started by khunjack, May 3, 2006.

  1. khunjack

    khunjack Paid Customer

    Hi,

    installed the package the second time.

    Both time same error .. the category pages aren't found.

    What did I do

    o Installed it, setup db and permisions.
    o created one category, check if the page is displayed. Was ok.
    o created some subcategories, checked it displayed ok

    o Change the website title and suffix for page title.

    After that clicked the categories on the site ...page not found...

    Stopped now, waiting for your advice
    thanks
  2. Sergey Ten

    Sergey Ten <b>eSyndiCat Lead Developer</b>

  3. Vasily B.

    Vasily B. Administrator Staff Member

    it looks like a regular mod_rewrite problem... Please try to add the following line to your .htaccess file in the very beginning:
    Code:
    RewriteBase /
  4. khunjack

    khunjack Paid Customer

    Simon,
    thanks for the reply.

    No, unfortunately that doesn't help.

    I even create an additional new main category.

    Anymore thoughts .. thanks

    BTW: running tons of stuff on my server without any issues.
    I think php 5.0.2 shouldn't be a problem for your script?
  5. Vasily B.

    Vasily B. Administrator Staff Member

    could you please check your log files and enable error_reporting for your php? Please email me your url if you do not want to post it here :)
    I will investigate the problem
  6. khunjack

    khunjack Paid Customer

    Hi SImon,

    url mailed...here the error reporting

    Thanks a lot

    PHP ERROR rep:
    ===========
    Notice: Undefined variable: gProtected in /home/loft/public_html/includes/auth.inc.php on line 20

    Notice: Undefined index: editor_id in /home/loft/public_html/includes/auth.inc.php on line 30

    Notice: Undefined index: adsense in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 323

    Notice: Undefined index: comment_max_chars in /home/loft/public_html/language/English.php on line 215

    Notice: Undefined index: comment_min_chars in /home/loft/public_html/language/English.php on line 216

    Notice: Undefined index: visitor_sorting in /home/loft/public_html/header.php on line 69

    Notice: Undefined index: num_cols_suffix in /home/loft/public_html/classes/Dir.php on line 135

    Notice: Undefined index: news in /home/loft/public_html/header.php on line 97

    Notice: Undefined index: category in /home/loft/public_html/index.php on line 25

    Notice: Undefined variable: style in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 305

    Notice: Undefined variable: out in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 305

    Notice: Undefined index: num_cols_suffix in /home/loft/public_html/classes/Dir.php on line 135

    Notice: Undefined index: num_links_display in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 178

    Notice: Undefined variable: subcats in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 233

    Notice: Undefined index: num_links_display in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 178

    Notice: Undefined variable: subcats in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 221

    Notice: Undefined index: page in /home/loft/public_html/index.php on line 52

    Notice: Undefined index: order_featured in /home/loft/public_html/index.php on line 61

    Notice: Undefined index: sponsored_top in /home/loft/public_html/index.php on line 62

    Notice: Undefined variable: sql in /home/loft/public_html/classes/Dir.php on line 388

    Notice: Undefined index: sponsored_links in /home/loft/public_html/index.php on line 84

    Notice: Undefined index: featured_links in /home/loft/public_html/index.php on line 91

    Notice: Undefined index: partner_links in /home/loft/public_html/index.php on line 98

    Notice: Undefined index: banners in /home/loft/public_html/index.php on line 105


    lats lines from error log:
    ================
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: banners in /home/loft/public_html/index.php on line 105
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: partner_links in /home/loft/public_html/index.php on line 98
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: featured_links in /home/loft/public_html/index.php on line 91
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: sponsored_links in /home/loft/public_html/index.php on line 84
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined variable: sql in /home/loft/public_html/classes/Dir.php on line 388
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: sponsored_top in /home/loft/public_html/index.php on line 62
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: order_featured in /home/loft/public_html/index.php on line 61
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: page in /home/loft/public_html/index.php on line 52
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined variable: subcats in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 221
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: num_links_display in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 178
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined variable: subcats in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 233
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: num_links_display in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 178
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: num_cols_suffix in /home/loft/public_html/classes/Dir.php on line 135
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined variable: out in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 305
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined variable: style in /home/loft/public_html/templates/GreenLeaves/Layout.php on line 305
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: category in /home/loft/public_html/index.php on line 25
    [Thu May 4 05:25:43 2006] [error] PHP Notice: Undefined index: news in /home/loft/public_html/header.php on line 97
    [Thu
  7. Vasily B.

    Vasily B. Administrator Staff Member

    please try to set the following configuration in your php.ini file:
    I have not got an email from you.
  8. khunjack

    khunjack Paid Customer

    I did ini_set('error_reporting', E_ALL);

    now
    error_reporting(E_ALL ^ E_NOTICE);

    same output as above ....

    ..send PM will send now URL via mail
  9. Vasily B.

    Vasily B. Administrator Staff Member

    could you please create a test ftp account for me?
  10. khunjack

    khunjack Paid Customer

    mail send
  11. Vasily B.

    Vasily B. Administrator Staff Member

    Looks fixed. :) I simply reuploaded your .htaccess file.
  12. affiliateboy

    affiliateboy New Member

    Having the same issue. I think it has something to do with my .htaccess?

    What code should be in this file?
  13. Vasily B.

    Vasily B. Administrator Staff Member

    Here is the content of .htaccess file that should be in esyndicat directory:

    Code:
    # enable mod_rewrite
    RewriteEngine on
    
    # mod_rewrite rules for categories pages
    RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
    RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]
    
    # mod_rewrite rule for suggest link page
    RewriteRule ^suggest-link([0-9]+).html$ suggest-link.php?id=$1 [QSA,L]
    
    # mod_rewrite rules for new links page
    RewriteRule ^new-links.html$ new-links.php [QSA,L]
    RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L]
    
    # mod_rewrite rules for top links page
    RewriteRule ^top-links.html$ top-links.php [QSA,L]
    RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L]
    
    # mod_rewrite rules for popular links page
    RewriteRule ^popular-links.html$ popular-links.php [QSA,L]
    RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L]
    
    # mod_rewrite rules for editors links page
    RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L]
    RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L]
    
    # mod_rewrite rules for view link page
    RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L]
    
    # mod_rewrite rules for news page
    RewriteRule ^news.html$ news.php [QSA,L]
    RewriteRule ^(.*)-n([0-9]+).html$ news.php?title=$1&id=$2 [QSA,L]
    
    # mod_rewrite rules for additional pages
    RewriteRule ^p(.*).html$ page.php?name=$1 [QSA,L]
    
    # mod_rewrite rules for error pages
    RewriteRule ^([0-9]+).htm$ error.php?error=$1 [QSA,L]
    
    ErrorDocument 500 /dir/500.htm
    ErrorDocument 404 /dir/404.htm
    ErrorDocument 403 /dir/403.htm
    ErrorDocument 401 /dir/401.htm
  14. khunjack

    khunjack Paid Customer

    excellent Simon.

    it works !!!!
  15. Vasily B.

    Vasily B. Administrator Staff Member

    I'm glad to help you ;)

Share This Page