Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Errors on backend admin and newest members
Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 9:43 am

Yes, same theme.

I was not trying to get a blank template.  I was only observing that on a clean install, the page template shows as blank in SPF.  When it shows as blank, it works.  When "default" appears, it does not work.  If you do a clean install of SPF 5 where it creates the forum page, you will see that SPF shows the page template as blank.

I am not changing the page template when I edit the page in WP.  I don't have to change anything, other than to save it.  On saving, "default" appears in SPF and then it won't work.  I don't know if this is a Genesis thing or a multisite thing.  I suspect it is NOT Genesis, because I am also using a Genesis theme on my test site on the same multisite install, where it works fine after the WP page is saved.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 9:50 am

you find some odd ones! wink

the showing of the current page template in the integration panel is purely informational...  SP does not care or even look at what the current page type is...  other than this informational display...

but the wp theme will surely care...  but only in how it lays out the page...

so what happens on the page when viewed when its not working?  same plugins for both sites?  wondering if trying the display multiple and display in loop options on the integration panel will help?

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 10:05 am

When it doesn't work (which is just trying to view a forum), it redirects to the home page.  My multisite install is setup such that if it can't find or generate the page, it redirects to the home page.  So something about having a template throws a twist into it.

You said SP is just showing an informational display.  Fair enough.  But why does the information change when the post is saved and the page template is not changed?  When SP created the new forum page, why doesn't it display "default" as the information?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 10:14 am

yes, we just query the wp page in the database and pull off the postmeta entry for the page template for the page...
when we create the page, we use the wp api for creating the page. not sure why it would have a default but I can research that - perhaps another arg is needed on the function call...
you will have to ask wp as to why saving the post but not changing the template actually creates the postmeta entry... probably a good thing to do for wp... and as I said, I will check into why we dont have default at creation...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 10:48 am

In attempting to do another test, I ran into another strange situation.

I set SP to uninstall, deactivated the plugin, and it removed tables.  I reactivated, went to install, and instead of a steady progress from table creation to beyond, the orange status bar displays from start to finish virtually in an instant and no tables are created.  If I click the button after install, it restarts the install loop.  I have run installation several times this AM; is there a counter on it?

Also, is sfInstallID in wp_options one of your settings?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 11:04 am

yes, sfInstallID is one of ours...  from versions some while back...

there is no counter like you are thinking... but there are something like 10 steps in the install that are output as it progresses below the status bar...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 11:35 am

Deleting sfInstallID and the passage of time allowed the install to complete.  I know there are 10 steps or so.  My point earlier was that the progress bar indicated they were completing, but they weren't.  It showed installation complete, but no tables were created.  Is there any sort of timer/cookie that would block successive uninstalls/new installs?

When SP auto-creates the forum page, it does NOT add a _wp_page_template to wp_postmeta.  With no _wp_page_template, I can access the forums.  Once I save the page on the WP backend, _wp_page_template is added to postmeta, and at that point, the forums generate a 302 error.

When you add a new page to WP, it DOES put _wp_page_template in postmeta, so the fact that it is not there has something to do with their API or your calling it.  Still, if you put it in, that's what breaks things for me, so your fix might only cause things to break sooner.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 11:41 am

actually, I was mistaken... must have searched for wrong thing previously (space at end, maybe?)... it IS a current option... only for install... and is removed at the end of an install...

I committed a change about 15 minutes ago to force the default page template...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 11:42 am

so we will need to figure out why you are redirecting to the home page...  the default template is the right thing to do...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Sep 8, 2011 - 11:44 am

Thanks.  You might also want to investigate why that option wasn't deleted when I deactivated the plugin.  If the option is there and you proceed to install, nothing happens.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625