Jump to content


Photo

Opening Article Leads to forum index


Just as title says opening the topic by hitting read story is redirecting to forum index for me.

Example: http://dev.7thcavalr...dex.php?app=ccs

This does not occur if:
define( 'IPS_DEFAULT_PUBLIC_APP', 'ccs' );

is set, only if something else is set.

Status: Fixed
Version: 2.2.0 Beta 2
Fixed In: 2.2.0 Beta 2


38 Comments

Yes, that's what I was alluding to in post #24. Some code had to get rearranged in the main entry point file to prevent that issue. If you want to manually patch

admin/applications_addon/ips/ccs/modules_public/pages/pages.php

Change

else if( $folderName )
		{
			$where[]	=  "page_seo_name='{$this->settings['ccs_default_page']}'";
			$where[]	= "page_folder='{$folderName}'";
		}
		else if( $this->request['id'] )
		{
			$id			= intval($this->request['id']);
			$where[]	= "page_id=" . $id;
		}

to

else if( $this->request['id'] )
		{
			$id			= intval($this->request['id']);
			$where[]	= "page_id=" . $id;
		}
		else if( $folderName )
		{
			$where[]	= "page_seo_name='{$this->settings['ccs_default_page']}'";
			$where[]	= "page_folder='{$folderName}'";
		}
Thanks Brandon, that fix worked :)
Thank you, Brandon! Everything now works a treat. <dancing a jig to finally have IP.Content working as intended>
Great guys, thanks for reporting back. If you spot any problems please do let me know. Would definitely like to be sure this issue is ironed out before any further releases.
Ok this worked for me as well, but I am still getting CCS with no skin
http://www.americansportriders.com


Got it working, actually had the wrong htaccess in, dang it, I have being de-caffeinated Posted Image
I'm not seeing IP.Content at all on your site
IP.Content 2.0 Beta 3,
Manually patched according to this thread, issue still remains - fURL not working.

.htaccess is installed; Blogs, Gallery, Forum, fURLs are correct.

IP.Content 2.0 Beta 3,
Manually patched according to this thread, issue still remains - fURL not working.

.htaccess is installed; Blogs, Gallery, Forum, fURLs are correct.


me too. I have created my previous pages (which worked on an upgrade) in a fresh installation of version 2 beta 3 and my furls do not work, it just goes to the forum index.
I have applied the manual files to the correct areas.

.htaccess is installed; Blogs, Gallery, Forum, fURLs are correct.

have recached apps, and rebuilt furls and recached skins

edit: some more info:

all urls produced need a
page/
added between the domain and the rest of the furl for me to be able to see them.

I can't see where this is set, but I would like it removed so that my edia page is at domain.com/media.html rather than domain.com/page/media.html
page/ is required if you are using IPB friendly urls and are serving your pages from your IPB directory. While you could edit the furl templates to change this, there is no way to remove that "marker" entirely.
OK. I can live with a /page but how do I get the url's within the application to produce it? Currently I have the bug where everything defaults to the index page because /page is missing?
Photo
Old-Trainee
May 27 2010 02:42 PM
thanks brandon, its work grat!!

OK. I can live with a /page but how do I get the url's within the application to produce it? Currently I have the bug where everything defaults to the index page because /page is missing?


Did you put in a URL to index.php in the advanced settings? If so remove it - that should only be used when you are using the external index.php.
awesome - thanks brandon :)