Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 12-22-2015, 06:30 PM
SapphirePhoenix's Avatar
SapphirePhoenix SapphirePhoenix is offline
Adoptable Site Owner
 
Join Date: Nov 2015
Location: Australia
Posts: 81
Gender: Female
Credits: 8,169
SapphirePhoenix is on a distinguished road
Default

Thank you! And after that, is it possible for me to create an offsite forum and then link it to my site?
Reply With Quote
  #12  
Old 12-22-2015, 08:21 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,341
Hall of Famer is on a distinguished road
Default

Sure, you can upload a forum script to your server using FTP, install it and add it as a link from Mysidia's ACP.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #13  
Old 01-09-2016, 11:33 PM
SapphirePhoenix's Avatar
SapphirePhoenix SapphirePhoenix is offline
Adoptable Site Owner
 
Join Date: Nov 2015
Location: Australia
Posts: 81
Gender: Female
Credits: 8,169
SapphirePhoenix is on a distinguished road
Default

Does anyone know how to fix this?
Reply With Quote
  #14  
Old 01-10-2016, 08:43 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,940
Kyttias is on a distinguished road
Default

I think this comes down to some change (or lack thereof) that's been made on your end.

I could tell you exactly what the error means but I don't think it'll help all that much. So...Here's one source of information, but let me explain it in my own words: Basically headers are really picky. There cannot be any html, even whitespace, rendering before it's called. If it's rendering, say, an error message because it's looking for improper or incomplete config data, well, you'd get a header error instead of the error that would tell you that's what's wrong, unfortunately.

First off, make sure your inc/config_forums.php has the correct information AND that it should also go without saying that you also should have installed the forum by visiting it's url and creating an admin account for it - its not as simple as just dropping the files in. The prefix being correct is the most important part. The file I talk about below is going to look inside your database for data from a forum install with that prefix. So if the config data is correct and the forum properly installed, you should be able to log into the forum by visiting its url with the admin account you just created for it during it's install process. If all this is good, then it's not the problem.

Inside functions/functions_forums.php, which relies upon the information above being correct, the line the error is happening in is the function mybbsetcookie() which is called in mybbregister(), also in that file, from the file register.php. This should be working just fine - so long as nothing is being rendered to the page BEFORE this happens. Can you verify for me that absolutely no changes have been made to register.php by putting in a copy from a fresh version of the files?

But this isn't the only place where problems could have occurred. Afterall, $mysidia->user->register(); is called before mybbregister() and if it attempted to render anything to the page, even a blank space, this error would be happening. I'm pretty sure that function is being called up from it's location in classes/class_visitor.php (since the visitor class is what actually registers users and extends user) and it's register() function. All this function should be doing is adding a user to the database. Definitely not writing anything to the page, so it shouldn't be interfering. Put in a fresh copy of classes/class_visitor.php to confirm no changes were made here from the default?

If you've literally made no changes at all (or if your forum config was correct), I don't see how this would be happening.

It's also worth asking, if all the above is fine, what version of MyBB are you trying to integrate? It's best with v1.6, which is slightly older. (Other types of forum software will not work, period, unless you write your own integration technique and cookie forwarder.)
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 01-10-2016 at 08:56 AM.
Reply With Quote
  #15  
Old 01-10-2016, 08:56 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,341
Hall of Famer is on a distinguished road
Default

Well her site is on my webhost, so the PHP version is 5.5 which shouldnt be a problem. I thought the problem was resolved last time, so I dont quite understand what the OP is asking for this time?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #16  
Old 01-10-2016, 08:59 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,940
Kyttias is on a distinguished road
Default

It was never resolved. You asked her to turn off forum integration. Yes, that solved the problem, but she opened another thread asking how to integrate a forum and even PMed me about it. She knew she was doing something wrong (and I'm going to guess it was not installing the forum after putting the files in).
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #17  
Old 01-10-2016, 09:07 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,341
Hall of Famer is on a distinguished road
Default

I see. If she has an active site with users, its a bit harder to integrate the forum. I thought her forum integration was working before, unless my memory wasnt correct. In this case, it may be good to ask her when it stopped working all of a sudden. Or if my memory was indeed wrong, did it never work in the first place?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #18  
Old 01-10-2016, 08:54 PM
SapphirePhoenix's Avatar
SapphirePhoenix SapphirePhoenix is offline
Adoptable Site Owner
 
Join Date: Nov 2015
Location: Australia
Posts: 81
Gender: Female
Credits: 8,169
SapphirePhoenix is on a distinguished road
Default

The forum works fine, but when I register testing accounts (on my site, not the forum) there's this error:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/functions/functions_forums.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/functions/functions_forums.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/classes/class_cookies.php on line 85

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/classes/class_cookies.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/classes/class_cookies.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/classes/class_cookies.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/functions/functions_forums.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/azurelia/public_html/functions/functions_forums.php:1) in /home/azurelia/public_html/functions/functions_forums.php on line 87
So...
Reply With Quote
  #19  
Old 01-10-2016, 09:35 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,940
Kyttias is on a distinguished road
Default

Did you try anything from my post a few posts ago? I really feel something there should fix it. @w@
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #20  
Old 01-10-2016, 10:38 PM
SapphirePhoenix's Avatar
SapphirePhoenix SapphirePhoenix is offline
Adoptable Site Owner
 
Join Date: Nov 2015
Location: Australia
Posts: 81
Gender: Female
Credits: 8,169
SapphirePhoenix is on a distinguished road
Default

Quote:
Inside functions/functions_forums.php, which relies upon the information above being correct, the line the error is happening in is the function mybbsetcookie() which is called in mybbregister(), also in that file, from the file register.php. This should be working just fine - so long as nothing is being rendered to the page BEFORE this happens. Can you verify for me that absolutely no changes have been made to register.php by putting in a copy from a fresh version of the files?

But this isn't the only place where problems could have occurred. Afterall, $mysidia->user->register(); is called before mybbregister() and if it attempted to render anything to the page, even a blank space, this error would be happening. I'm pretty sure that function is being called up from it's location in classes/class_visitor.php (since the visitor class is what actually registers users and extends user) and it's register() function. All this function should be doing is adding a user to the database. Definitely not writing anything to the page, so it shouldn't be interfering. Put in a fresh copy of classes/class_visitor.php to confirm no changes were made here from the default?
I believe the problem is probably that part, but I have checked that the files weren't edited. But then this:
Quote:
Afterall, $mysidia->user->register(); is called before mybbregister() and if it attempted to render anything to the page, even a blank space, this error would be happening.
Is something that I'm not 100% sure about, so can you please explain?

EDIT:
Also, I have noticed that when I registered on other Mysidia sites with integrated forums, the same error shows up.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:02 AM.

Currently Active Users: 453 (0 members and 453 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636