Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Re: Bridge 1.1.4

Aloittaja reynierpm, toukokuu 18, 2006, 04:16:41 IP

« edellinen - seuraava »

reynierpm

Well ... I try integrate Joomla 1.0.8 and SMF 1.1RC2 but I get this error when try to access to Joomla site:
LainaaWarning: smf_header_include(../smf/SSI.php): failed to open stream: No such file or directory in /var/www/simpro/mambots/system/SMF_header_include.php on line 63

Fatal error: smf_header_include(): Failed opening required '../smf/SSI.php' (include_path='.:/usr/include/php4/Smarty/libs:/usr/include/php4/adodb:/var/www/agora/global') in /var/www/simpro/mambots/system/SMF_header_include.php on line 63

I use the BlackDay template (http://themes.simplemachines.org/index.php?lemma=23) that's the problem?
Regards,

reynierpm

My apologies for every here ... myself solve the problem. It was a simple ".". The board direction by default was "../forum" but I change it to "./smf" and now works fine.

But the problem now came when I try to use Joomla Friednly URL's. Take a look to the generated error:
Lainaa
The requested URL /component/option,com_smf/Itemid,27/board,49.0 was not found on this server.

It's possible fix this?
Regards,

paki

Lainaus käyttäjältä: reynierpm - toukokuu 18, 2006, 04:40:50 IP
My apologies for every here ... myself solve the problem. It was a simple ".". The board direction by default was "../forum" but I change it to "./smf" and now works fine.

But the problem now came when I try to use Joomla Friednly URL's. Take a look to the generated error:
Lainaa
The requested URL /component/option,com_smf/Itemid,27/board,49.0 was not found on this server.

It's possible fix this?
Regards,

Your htaccess file needs to have the standard SEF section looking like this:
########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

reynierpm

This is the content of my .htaccess file.
Lainaa
##
# @version $Id: htaccess.txt 2368 2006-02-14 17:40:02Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#
#  mod_rewrite in use
RewriteEngine On

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla/MamboDirectory (just / for root)

# RewriteBase /


########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section


########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section

It's fine or not? If not fine any can help me. I never lead with .htaccess file before.
Regards,

paki

########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section


is NOT fine. Look at the post above the one you made for the correct one.
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

reynierpm

So ... I only need replace the old code with this piece of code you leave me?
Regards,

paki

http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

reynierpm

Still without working. See the .htaccess:
Lainaa########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
########## End Standard SEF Section

########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section

paki

Lainaus käyttäjältä: reynierpm - toukokuu 18, 2006, 05:00:27 IP
Still without working. See the .htaccess:
Lainaa########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]

RewriteRule ^(content/|component/) index.php
########## End Standard SEF Section

########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section

you still did not do it correctly. Please take a look at the differences between your HTACCESS file and the following. Look closer. I have bolded it for you.

Lainaa########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]

RewriteRule ^(content/|component/) index.php
########## End Standard SEF Section
http://www.dfwhyundais.com <-- Dallas/Ft. Worth's Local Hyundai Group

reynierpm

Thanks a lot, now it works and soury for not read before. I take a rapidly look and just copy & paste.
Regards,

Advertisement: