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
User not able to insert links
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2012 - 2:47 pm

This is most peculiar. It looks like you have an options record missing from the sfoptions table - but - if that is the case then it should be created after changes and an update.And the odd thing here is that there are no real error messages about failing to save it.

Do you have access to and know your way around your database?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Superfast
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 3:06 pm

Yes, I know my way around a database.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2012 - 4:36 pm

Great - could you take a look in the 'sfoptions' table and see if you have a row with an option_name of 'sffilters' and if so copy and paste the option_value column here for me to look at?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Superfast
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 4:42 pm

One of the first places I looked....and that particular table row (sffilters) has an empty option_value column.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2012 - 4:50 pm

Curiouser and curiouser.
I wonder if you are trying to put something in there it doesn't like which is causing a null value although - that really should produce an error message.
Any chance of a screen dump of that panel?
And if it is any help I can copy our data for that row and you could paste it in...?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Superfast
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 4:54 pm

I assume you mean a screen shot of that Options>Content panel, and if so not a problem. I would be very curious to see what happens when I paste that row's value that you guys have in your database.

Options-Content Settings PanelImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2012 - 5:41 pm

This is ours but you will hjave to edit it. Interesting to see what happens though

a:9:{s:10:"sfnofollow";b:1;s:8:"sftarget";b:1;s:11:"sffilterpre";b:0;s:12:"sfdupemember";b:1;s:11:"sfdupeguest";b:1;s:10:"sfurlchars";s:2:"40";s:12:"sfallowlinks";b:1;s:10:"sfmaxlinks";s:2:"10";s:12:"sfnolinksmsg";s:56:"<b>** you don\'t have permission to see this link **</b>";}
andy-signature.png
YELLOW
SWORDFISH
Avatar
Superfast
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 5:59 pm

Modified that data to my personal settings, copied it into the database and saved. Now when I go into Options > Content Settings everything looks correct and my options are all appropriately ticked. I tried clicking update content options just to test, and it wiped the sffilters empty again. Something definitely going on between the PHP and SQL.

I'll enable trace mode in my php.ini and see what's logged.

For now, I'll just manually update the database with the appropriate data until we figure this out.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 7:12 pm

okay. just let us know if you need any more info...

Avatar
Superfast
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 7:36 pm

Nothing out of the ordinary in debug log file when viewing outputted SQL errors/warnings server-side. But, when attempting to save options in the Options-Content Settings, my database is definitely receiving a SQL drop command for the sffilters row (option_value) within the sfoptions table.

Nothing was changed whatsoever in WP between the SP 4.5x to 5.0 upgrade. This seems like a 5.0 issue to me. Any insight from you guys as to why this may be happening?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626