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
Problems after moving to a new server
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
May 12, 2012 - 4:25 am

Andy,

this is the error:

file: /simple-press/sp-startup/forum/sp-forum-framework.php
line: 200
function: implode
Warning | implode() [function.implode]: Invalid arguments passed

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 12, 2012 - 4:48 am

Ah - wrong one. I should have been more explicit - sorry. But that might be connected.
Back to the error log. Go down the list and find the first one that specifies it is a database error - that will be the one we want...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
May 12, 2012 - 6:54 am

Andy...stupid me...

When I downloaded the database I forgot the table wp_sfmessages.

So now I do not see that error any longer.

But the user profile still doesn't work...

I checked the error log in the toolbox again and I found this error as well:

file: /simple-press/sp-startup/forum/sp-forum-framework.php
line: 200
function: unserialize
Notice | unserialize() [function.unserialize]: Error at offset 98 of 106 bytes

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 12, 2012 - 7:12 am

This is related to the previous error message you pasted above - (same file, same line of code). Did you replace the table 'sfmeta' and if so does it have any data in it?

And if there IS a problem with that table then this could also explain the lack of profile tabs as that is where the control data is stored for the profile menus and tabs.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
May 12, 2012 - 10:20 am

Yes, there are data in that table: usergroups and rankings.

It is the same table I was using on the previous website.

There is also a row with metakey "Tabs" which contains exactly "Buddies and Adversaries".

Nothing else.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 12, 2012 - 10:56 am

There should be more than usergroups and rankings however.
Still lets get the profile sorted first.
Go to the forum admin > Toolbox > Housekeeping and click on the option rebuild profile tabs and menus. That should do it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
May 13, 2012 - 2:49 am

Done, Andy!

Everything is working perfectly now. Thank you SO much!

I take advantage to ask another couple of things...

I need to enlarge the User section and reduce the Post section. With Firebug, I found the user section has a element.style width=15%, and the Post sections says 84%.

If I change those to 20% and 79% it works perfectly. But I am not able to find where these 2 things are.

I also need to increase the size of the username in the User section and make it bold. Looks too small.

Last but not least, the New/Recently Updated Topics and Select Forum functions are not appearing at the top of the page.

Could you please let me know how to fix these little things? After that, the site will shortly be ready to go online and hopefully I will not bother you guys anymore! Unless I will have more problems moving the site from a subdomain to the server root... laugh

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 13, 2012 - 4:10 am

Good news.

Column widths are defined in the SP theme template - in this case the spTopicView.php template. If you open it up in the template editor you should quickly see the columns defined at the start of each block. Just change the percentage values to suit.

The font size question depends on whether you are using an SP theme with overlays or a CSS only theme. The size of that data item is styled with the class name of 'spPostUserName'. In an overlay theme you would want to edit the overlay you are using where this is defined with the $userInfo variable. In a CSS only theme you would want to edit the actual theme CSS file and change the spPostUserName class font size.

See if you can work it out from that but if you get lost come back and we can get into more detail.

The new/recent posts list on the 'front' page is shown by default on all themes as supplied - but NOT shown to the forum admin. If you want to make it available to admins as well then you need to edit the spGroupView.php template. Right down at the bottom you will find the call to sp_RecentPostList(). You will need to add an argument to the list as:

sp_RecentPostList('show=10&admins=1', __sp('Unread and recently updated topics'));

Note the ampersand between arguments. The ;show' argument determines how many are shown of course.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
May 13, 2012 - 5:09 am

All done!

The only thing that doesn't work is the new/recent posts. I changed as you told me but it's not working. I thought that the 1 you added was sthe ID of the admin. But I never use that account. I use mine and the ID is 2. So I tried by putting the 2 but still no luck...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 13, 2012 - 5:38 am

It should work just fine - we have had quite a few users made this adjustment.

The 1 simply means true or 'on'. 1=on, 0=off basically. Are you sure you used the term 'admins' and not just 'admin'? And included the ampersand between the 'show' and 'admins' arguments. And no spaces.

andy-signature.png
YELLOW
SWORDFISH
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626