rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« on: November 27, 2006, 02:04:02 » |
|
I can not edit user profiles. It just shows the summary page, will not go to any other links in the user profile tabs. and I had the same thing happen during install with the empty files. I FTP the files to get it working. Everything looks good except for the profiles bug Thanks, Rick www.cashsurveysnow.com/forum
|
|
|
|
« Last Edit: November 27, 2006, 02:07:41 by rickou812 »
|
Logged
|
|
|
|
|
|
rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« Reply #1 on: November 27, 2006, 02:17:10 » |
|
I have narrowed the problem down to the .htaccess file. If I "comment" this part like this I am able to edit user profiles: #RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*) #RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]
I note that it works here on this forum, do you see anything wrong with these lines?
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #2 on: November 27, 2006, 03:55:14 » |
|
Thanks for your feedback ... I will look to see what is the problem. Please tell me what Apache do you run and what SMF version.
Thanks again !
Regards
|
|
|
|
|
Logged
|
|
|
|
rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« Reply #3 on: November 27, 2006, 12:44:05 » |
|
Thanks for your feedback ... I will look to see what is the problem. Please tell me what Apache do you run and what SMF version.
Thanks again !
Regards
I am running smf version 1.1 RC3 and apache version 1.3.37 (Unix) Thanks
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #4 on: November 27, 2006, 23:29:27 » |
|
Did you disable the mod ? I don't see the mod installed.
Regards
|
|
|
|
|
Logged
|
|
|
|
rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« Reply #5 on: November 27, 2006, 23:44:42 » |
|
Did you disable the mod ? I don't see the mod installed.
Regards
No it is on, I have disabled the profile portion so that users could edit there profiles by editing the .htaccess file.
|
|
|
|
« Last Edit: November 27, 2006, 23:46:19 by rickou812 »
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #6 on: November 28, 2006, 03:34:57 » |
|
It's not on. Because your host is using PHP-CGI. SMF doesn't like php-cgi and is disabling "Search engine friendly URLs" from your admin area. SMF is checking if you have ini_get('cgi.fix_pathinfo') ==1 and if is not then you cannot run Seo4SMF or "Search engine friendly URLs" To workaround this problem just look in QueryString.php after this line if (!empty($modSettings['queryless_urls']) && (!$context['server']['is_cgi'] || @ini_get('cgi.fix_pathinfo') == 1) && $context['server']['is_apache'])
and replace with if (!empty($modSettings['queryless_urls']) && ($context['server']['is_cgi'] || @ini_get('cgi.fix_pathinfo') == 1) && $context['server']['is_apache'])
Test and see if is working ... just remember to backup your files before any modification. Regards
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #7 on: November 28, 2006, 03:38:23 » |
|
Another workaround is to talk with your host and change the php.ini setting cgi.fix_pathinfo to 1
Regards
|
|
|
|
|
Logged
|
|
|
|
rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« Reply #8 on: November 28, 2006, 04:10:53 » |
|
Another workaround is to talk with your host and change the php.ini setting cgi.fix_pathinfo to 1
Regards
I don't think I have a php.ini file
|
|
|
|
|
Logged
|
|
|
|
rickou812
Jr. Member

Points: 0
Offline
Posts: 6
|
 |
« Reply #9 on: November 28, 2006, 04:35:33 » |
|
OK, I placed a php.ini file in the forums root with the cgi.fix_pathinfo to 1, and nothing changed. So I did the mod in the querystring.php and that worked. Everything seems good now.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #10 on: November 28, 2006, 09:17:53 » |
|
OK, I placed a php.ini file in the forums root with the cgi.fix_pathinfo to 1, and nothing changed. So I did the mod in the querystring.php and that worked. Everything seems good now.
Thanks
Php.ini can be changed by your hosting provider not by you  Regards
|
|
|
|
« Last Edit: December 07, 2006, 16:50:10 by TheGodFather »
|
Logged
|
|
|
|
husooz
Jr. Member

Points: 0
Offline
Posts: 10
|
 |
« Reply #11 on: January 31, 2007, 04:32:32 » |
|
TheGodFather; thanks for all. my a few problems have solved with your helps but still seo4smf does not work. joomla is also installed on my host and can joomla or joomla settings block seo to work? because i m using opensef for joomla.
there is my php.ini and htaccess files.
Regards
|
|
|
|
« Last Edit: January 31, 2007, 04:36:18 by husooz »
|
Logged
|
|
|
|
husooz
Jr. Member

Points: 0
Offline
Posts: 10
|
 |
« Reply #12 on: January 31, 2007, 04:45:53 » |
|
I can see urls right but links does not work 
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #13 on: January 31, 2007, 05:34:42 » |
|
htaccess an all other files need to be under /forum/ folder not in your root !
Regards
|
|
|
|
|
Logged
|
|
|
|
husooz
Jr. Member

Points: 0
Offline
Posts: 10
|
 |
« Reply #14 on: January 31, 2007, 06:17:25 » |
|
Thanks now its working wonderfull....
Thank you very much
|
|
|
|
|
Logged
|
|
|
|
|