SimplePortal

Support => Install and Upgrade => Topic started by: marsd on November 16, 2008, 03:20:57 AM

Title: Installation failure because of Pretty URL?
Post by: marsd on November 16, 2008, 03:20:57 AM
Currently using SMF 2.0b3.1 having Pretty URLs mod. I have encountered a couple of failed test cases:

Code: [Select]
2.  Replace  ./Sources/Load.php  Test failed

Find [Select]

// Build up the linktree.
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '#c' . $board_info['cat']['id'],
'name' => $board_info['cat']['name']
)),

Replace [Select]

// Build up the linktree. (Need SPortal in linktree)
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '?action=forum#c' . $board_info['cat']['id'],
'name' => $board_info['cat']['name']
)),


When I searched for the same line in my files, I located the following: 'href' => $scripturl . '#' . $row_board['id_cat'], to be the source of error. The rest of the errors are also due to this problem. The current board works like this "http://mydomain.com/#5", rather than "http://mydomain.com/index.php?action=forum#5". Is there any way to rectify this problem?
Title: Re: Installation failure because of Pretty URL?
Post by: marsd on November 16, 2008, 03:25:58 AM
Woops I posted this in the wrong board...
Title: Re: Installation failure because of Pretty URL?
Post by: [SiNaN] on November 16, 2008, 03:29:38 AM
I'm not sure what you mean.

Do you have errors during installation or after installation?
Title: Re: Installation failure because of Pretty URL?
Post by: marsd on November 16, 2008, 04:28:48 AM
They are errors during installation.
Title: Re: Installation failure because of Pretty URL?
Post by: [SiNaN] on November 16, 2008, 04:33:29 AM
Pretty URLs does not modify anything in Load.php. Is it possible that you have Singe Category mod installed?
Title: Re: Installation failure because of Pretty URL?
Post by: marsd on November 22, 2008, 11:40:16 AM
Sorry for long delay in reply... I don't have Simple Category mod installed, what I have is here:

    Mod Name     Version     
1.    Member Awards    2.0    
2.    Thank-O-Matic    2.0 Beta 3    
3.    RemoveQuotedImages    1.0    
4.    Alternativ Protocol Fix    1.0.1    
5.    Bookmarks    2.1    
6.    Attachments In Message    1.1.5    
7.    AJAX Recent Topics    1.0.0    
8.    Wysiwyg Quick Reply    1.0    
9.    vBulletin Style Meta Tags    1.1    
10.    More Spiders    1.1    
11.    Top 10 Posters Today And This Week Stats    1.1    
12.    Advanced Reputation System    1.4.1    
13.    Internal Links Use Same Window    1.2    
14.    Grouped Who's Online    1.0    
15.    Pretty URLs - Base    0.8.3    
16.    SMF Sitemap    1.3.0    
17.    Hide Tag    2.2.1    
18.    Ad Managment    2.3.3    
19.    Auto Embed Video Clips    2.2
Title: Re: Installation failure because of Pretty URL?
Post by: [SiNaN] on December 20, 2008, 06:21:08 AM
Sorry for delayed response.

Version 2.1.1 does not make any change in Load.php for linktree, it does its on its own. So should be able to use SimplePortal 2.1.1 without problems.
Title: Re: Installation failure because of Pretty URL?
Post by: Nathaniel on February 17, 2009, 08:12:20 PM
marsd,
Sorry for the delayed follow-up. Did you manage to resolve this issue? Or do you still require assistance?
SimplePortal 2.3.8 © 2008-2024, SimplePortal