A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
"Page" creation
Jul 9, 2010
5:38 pm
Member
Forum Posts: 147
Member Since:
Nov 1, 2009
Offline

Hi!

I'm sorry to bother you with this question – but I thought maybe you guys maybe could just point me in the right direction… I use the tantan photo album plugin ( http://tantannoodles.com/toolk…..oto-album/ ), and it seems after the upgrade to wp3.0 (and possibly introducing multisite), the "pages" created by the plugin for displaying albums (actually dynamically created pages, I believe, much like simple-forum) – generate 404 errors.. The pages most often load fine, but sometimes they fail to load, especially in Internet Explorer.

Where would you start to look if you were to squash such a bug? Have you experienced similar issues with simple-forum in the past? I've tried contacting the developer, but no luck there..

Jul 10, 2010
12:38 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

sometimes they fail to load? but other times they load correctly?  pretty odd…  has the plugin been updated to work with wp 3.0?

frankly, not sure where to start looking…  typically, the rewrite rules either work or they dont…  havent really seen them be sort of random…  I would try using firefox with firebug and try seeing if you can get the 404 to occur and see if any js errors are thrown in the firebug console…

Jul 10, 2010
4:16 am
Member
Forum Posts: 147
Member Since:
Nov 1, 2009
Offline

Thanks, I tried Firebug – there were some javascript errors – but I couldn't see anything that might relate to this.

The Plugin has not been updated to work with wp3.0 – but there are only two major issues that I am aware of (this is one of them).

When I said that the pages sometimes loaded and sometimes not – I was actually speaking of Internet Explorer – it seems that if the page loads slowly (ie, if the images need to be re-cached or something), Internet Explorer jumps in and serves its own "page missing" page instead of showing the "error page" served by the site.

The thing is, it doesn't seem like the plugin is telling wordpress that the dynamically created pages exists.. when I go to: http://www.webconfs.com/http-h…..-check.php and punch in the address of one of my album pages, ie http://holme.se/bilder/album/7…..ipstamatic , I get this response:

HTTP/1.1 404 Not Found => 

Date => Sat, 10 Jul 2010 09:11:27 GMT

Server => Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g DAV/2 mod_jk/1.2.26

X-Powered-By => PHP/5.3.1

X-Pingback => http://holme.se/xmlrpc.php

Expires => Wed, 11 Jan 1984 05:00:00 GMT

Cache-Control => no-cache, must-revalidate, max-age=0

Pragma => no-cache

Last-Modified => Sat, 10 Jul 2010 09:11:27 GMT

Connection => close

Content-Type => text/html; charset=UTF-8

You said it should have something to do with the rewrite rules – what should I search for in the code to look at that? And when you do that to create a dynamic page – do you also have to make WordPress aware of this somehow, so that WordPress knows that there is content on a dynamically generated (sub-)page?

Update: is there a specific place in the simple-forum code I could look to see how you create the dynamic content/rewrite rules, to see if it differs from how this photo album plugin does it?

Jul 10, 2010
5:10 am
Member
Forum Posts: 147
Member Since:
Nov 1, 2009
Offline

Hmmm… I changed the permalink structure of my page from

/%year%/%monthnum%/%day%/%postname%/

to

/%postname%/

… and now the 404 headers aren't sent… all is working fine.. woot (I guess).. 

Jul 10, 2010
9:00 am

SP Master
Forum Posts: 22175
Member Since:
Nov 9, 2008
Offline

in case you still want to look however, the forumrewrite rules are in the very first function on the file sf-loader-global.php – and yes – when they are first created your plugin has to flush the WP rules which are actually held in an 'option' record. After that happens they should start to work.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: woody, williambennettiv, ahcreate
50 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 499

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2624

Members: 7354

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10874

Posts: 79443

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22175), Mr Papa (23688)