mcp error on advanced mod rewrite

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

mcp error on advanced mod rewrite

Postby Darth Pincho » Fri Aug 30, 2013 10:19 pm

Hi, recently i upgraded to latest version and my moderators report an error when they try to access moderator control panel inside a forum

We can access moderator control panel on main page:
http://www.tupincho.net/foro/mcp.php?i= ... 70bf9c137b

We can access moderator control panel inside a topic
http://www.tupincho.net/foro/mcp.php?i= ... 70bf9c137b

but we get an error if we try inside a forum:
http://www.tupincho.net/foro/mcp.php?f=1&i=main&mode=forum_view&sid=e12ff8619d129045d6e3e770bf9c137b

Here my .htaccess file:
Code: Select all
<Files 403.shtml>
order allow,deny
allow from all
</Files>
SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER


# You may need to un-comment the following line

Options +FollowSymlinks

# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE

RewriteEngine On

# REWRITE BASE

RewriteBase /

# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION


#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^foro/forum\.html$ /foro/index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^foro/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /foro/viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^foro/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^foro/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^foro/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /foro/download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^foro/member/([^/]+)/?$ /foro/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^foro/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /foro/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^foro/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /foro/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^foro/post([0-9]+)\.html$ /foro/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^foro/active-topics(-([0-9]+))?\.html$ /foro/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^foro/unanswered(-([0-9]+))?\.html$ /foro/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^foro/newposts(-([0-9]+))?\.html$ /foro/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^foro/unreadposts(-([0-9]+))?\.html$ /foro/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^foro/the-team\.html$ /foro/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM

# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY



RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# RewriteRule ^foro/[a-z0-9_-]+(-([0-9]+))?\.html$ /foro/viewforum.php?start=$2 [QSA,L,NC]


# END PHPBB PAGES
#####################################################


############### WWW ISSUE ############################
RewriteCond %{HTTP_HOST} ^tupincho\.net$ [NC]
RewriteRule ^(.*) http://www.tupincho.net/$1 [QSA,L,R=301]
######################################################

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^foro/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /foro/gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & maps
RewriteRule ^foro/(news|maps)/?(page([0-9]+)\.html)?$ /foro/map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################


# FORUM WITHOUT ID & DELIM ALL MODES
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^foro/([a-z0-9_-]+)(-([0-9]+))\.html$ /foro/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^foro/([a-z0-9_-]+)\.html$ /foro/viewforum.php?forum_uri=$1 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^foro/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /foro/$1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^foro/.+/(styles/.*|images/.*)/$ /foro/$1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################



#####################################################
# GYM Sitemaps & RSS
# HTML Module additional modes
RewriteRule ^foro/(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ /foro/map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^foro/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^foro/[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^foro/([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^foro/sitemapindex\.xml(\.gz)?$ /foro/sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^foro/[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ /foro/sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^foro/([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /foro/sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################


###############SUBDREAMER MOD REWRITE#################

Options All -Indexes
#Options +FollowSymLinks
#RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(mod_pagespeed_statistics|mod_pagespeed_beacon) [NC]
RewriteRule ^(.*) index.php


######################################################
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Advertisement

Re: mcp error on advanced mod rewrite

Postby Darth Pincho » Tue Sep 03, 2013 7:22 pm

Hello anybody there?
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Re: mcp error on advanced mod rewrite

Postby dcz » Wed Sep 04, 2013 7:36 am

It is working out of the box, so it's either a mod you installed or something wrong with the mod install (straight mistake or outdated code).

What is the error exactly (with full debug on) ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21383
Joined: Fri Apr 28, 2006 9:03 pm

Re: mcp error on advanced mod rewrite

Postby Darth Pincho » Mon Dec 16, 2013 7:49 pm

Hi i just uploaded all the files from the premod .12 version and run the update_database.php script in the install forder. I want to get rid any other old mod i had installed. Everything else works ok. But this not.

i activated the full debug and the error i get is this:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@tupincho.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


My actual .htaccess rules are this:
Code: Select all
<Files 403.shtml>
order allow,deny
allow from all
</Files>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER


# You may need to un-comment the following lines
Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# Define fully qualified ssl aware protocol
RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
RewriteRule ^.*$ - [env=HttpFullProto:http%2://]
RewriteCond %{HTTP_HOST} !^www\.tupincho\.net$ [NC]
RewriteRule ^(.*)$ %{ENV:HttpFullProto}www.tupincho.net/$1 [QSA,L,R=301]

# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^foro/forum\.html$ /foro/index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^foro/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /foro/viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^foro/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^foro/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^foro/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /foro/download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^foro/member/([^/]+)/?$ /foro/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^foro/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /foro/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^foro/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /foro/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^foro/post([0-9]+)\.html$ /foro/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^foro/active-topics(-([0-9]+))?\.html$ /foro/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^foro/unanswered(-([0-9]+))?\.html$ /foro/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^foro/newposts(-([0-9]+))?\.html$ /foro/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^foro/unreadposts(-([0-9]+))?\.html$ /foro/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^foro/the-team\.html$ /foro/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^foro/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /foro/gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & maps
RewriteRule ^foro/(news|maps)/?(page([0-9]+)\.html)?$ /foro/map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

# FORUM WITHOUT ID & DELIM ALL MODES
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^foro/([a-z0-9_-]+)(-([0-9]+))\.html$ /foro/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^foro/([a-z0-9_-]+)\.html$ /foro/viewforum.php?forum_uri=$1 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^foro/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /foro/$1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^foro/.+/(styles/.*|images/.*)/$ /foro/$1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################

#####################################################
# GYM Sitemaps & RSS
# HTML Module additional modes
RewriteRule ^foro/(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ /foro/map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^foro/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^foro/[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^foro/([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /foro/gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^foro/sitemapindex\.xml(\.gz)?$ /foro/sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^foro/[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ /foro/sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^foro/([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /foro/sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################



###############SUBDREAMER MOD REWRITE#################

Options All -Indexes
#Options +FollowSymLinks
#RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} !^/(mod_pagespeed_statistics|mod_pagespeed_beacon) [NC]
RewriteRule ^(.*) index.php


######################################################



apparently the line having troubles is this:

Code: Select all
# FIX RELATIVE PATHS : FILES
RewriteRule ^foro/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /foro/$1 [QSA,L,NC,R=301]


mcp.php works only for:
Code: Select all
http://www.tupincho.net/foro/mcp.php?i=main&mode=front&sid=8c977203ce209561cec0e2c4b21c8590

Code: Select all
http://www.tupincho.net/foro/mcp.php?i=main&mode=topic_view&f=63&t=63870&sid=8c977203ce209561cec0e2c4b21c8590


BUT DO NOT WORKS FOR
Code: Select all
http://www.tupincho.net/foro/mcp.php?f=21&i=main&mode=forum_view&sid=8c977203ce209561cec0e2c4b21c8590
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Re: mcp error on advanced mod rewrite

Postby Darth Pincho » Mon Dec 16, 2013 10:06 pm

Error logs says this:
Code: Select all

[15-Dec-2013 23:33:42] PHP Parse error:  syntax error, unexpected $end in /home/tupincho/public_html/foro/phpbb_seo/includes/setup_phpbb_seo.php on line 75
[16-Dec-2013 14:48:05] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/captcha_qa.php on line 2122
[16-Dec-2013 14:56:07] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4848
[16-Dec-2013 14:56:07] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4850
[16-Dec-2013 14:56:07] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4851
[16-Dec-2013 14:56:07] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4852
[16-Dec-2013 15:17:19] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 15:30:35] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4848
[16-Dec-2013 15:30:35] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4850
[16-Dec-2013 15:30:35] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4851
[16-Dec-2013 15:30:35] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4852
[16-Dec-2013 16:05:25] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 16:07:05] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 16:30:18] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4848
[16-Dec-2013 16:30:18] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4850
[16-Dec-2013 16:30:18] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4851
[16-Dec-2013 16:30:18] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4852
[16-Dec-2013 16:32:01] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4848
[16-Dec-2013 16:32:01] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4850
[16-Dec-2013 16:32:01] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4851
[16-Dec-2013 16:32:01] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tupincho/public_html/foro/includes/functions.php:3948) in /home/tupincho/public_html/foro/includes/functions.php on line 4852
[16-Dec-2013 17:22:37] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122



Ive tried everything
1.- deleted my whole forum php files.
2.- uploaded a new fresh copy of .12 premod
3.- replaced config.php with teh old one
4.- the issue persist.

Somehow the problem is with the rewrite rules, and not with the files or an old module modified file somewhere (my initial suspect).
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Re: mcp error on advanced mod rewrite

Postby Darth Pincho » Tue Dec 17, 2013 12:57 am

Im runing my forum with apc cache instead of file cache. Apparently the errors in the log are because a conflict between apc and zend optimizer

Code: Select all
[16-Dec-2013 19:24:47] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/en/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:25:08] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:26:44] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:27:28] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:27:33] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:27:46] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:28:01] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:28:43] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:28:52] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:29:07] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122
[16-Dec-2013 19:29:49] PHP Fatal error:  Cannot run code from this file in conjunction with non encoded files in /home/tupincho/public_html/foro/language/es/gym_sitemaps/gym_common.php on line 2122


At leats they say so:
https://drupal.org/node/381622
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Re: mcp error on advanced mod rewrite

Postby Darth Pincho » Tue Dec 17, 2013 2:48 am

I solved the issue.

It was caused by a conflict between APC cache and Zend Optimizer.
Solution: Disable Zend Optimizer.

The .htaccess was ok, and the files where ok also. The problem is because a stack overflow in the gym_common.php file caused by Zend or APC. It will be good DCZ review this issue later for further versions.
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: ADmantX [Bot], Google Adsense [Bot] and 19 guests