PDA

View Full Version : Problem going from vBa Homepage 1.1 to CMPS


JonUrban
09-06-2004, 05:12 PM
I have my forum at 3.03. I have installed vBAdvanced Homepage 1.1 which is working fine.

I decided to try the CMPS. So, I downloaded it and carefully went through the directions, noticing at the bottom of the page it said that "upgrading" was basically an option on the install script.

I modified the proper files, copied the required files to the proper directories, however the install scripts bombed on a

Cannot modify header information - headers already sent by (output started at /home/quadrap/public_html/forums/global.php:699) in /home/quadrap/public_html/forums/includes/functions.php on line 2808

error. I then tried to enter the forum and admin control panel, and got the same error.

I restored a backed up functions.php and was able to get back in, however I verified every step of the install and could not find a mistake. I remodded the functions.php file and again it bombed.

Is there something I have to do different because I already have the "Homepage" installed?

(I have since restored the modded files and am back to 3.03 w/Homepage 1.1 and all is fine)

THANKS

:-jon

Brian
09-06-2004, 06:30 PM
That error means that you made a mistake when modifying the files. Try re-applying the changes to the files using Notepad or another simple text editor. Do not use Dreamweaver or any similar programs as they have been known to cause problems.

Our Sponsors
 

JonUrban
10-30-2004, 03:57 PM
Well, after taking some time off, I went back and tried the CMPS install again. This time, I crashed and burned with this error:

Unable to add cookies, header already sent.
File: /home/quadrap/public_html/forums/includes/functions.php
Line: 3788

I believe the error is in this section:



function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '', $dontshowweek = 0)
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show, $vba_options, $vboptions;

However, I have pasted it time and time again, and it still bombs. I looked closely at the prior code from the vBadvanced that was here and worked:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '', $dontshowweek = 0) {
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show, $vboptions;

however the red sections above are not included in the replacement script. I tried adding them back in, but the install bombed still.

Does this new error say anything that tips you off to my problem?

My Vbadvanced Home Page works great, I did that install with no problem. I can't help but think that there is some conflict somewhere between the vBadvanced and the CMPS.

HELP!!!! :confused: :eek:

THANKS

:-jon

JonUrban
10-30-2004, 03:58 PM
PS - I am not using Dreamweaver!

Our Sponsors
 

Brian
10-30-2004, 04:05 PM
The error would be in your functions.php file, not functions_calendar.php.

JonUrban
10-30-2004, 04:09 PM
I know, but I was looking for things that were different. The functions.php file was modded exactly as described. Heck, I'll try it again.

I just restored my original again and the forum came back up. This is really frustrating, as it is a simple cut and paste deal................

JonUrban
10-30-2004, 04:18 PM
Brian,

This is really weird. What I had been doing was using the interface that comes with my website to browse to the files and edit them. I would click the file, select edit, then paste in the text from the provided install document.

Just to see if it made a difference, I did the whole thing with CuteFTP, not using the website cPanel interface.

Guess What? It worked. I don't know why, I swear I was copying and pasting the EXACT SAME TEXT that came from the install file. Actually, the CuteFTP interface was quite nice, as it listed line numbers and everything. Guess I will use that from now on.

Anyway, I pasted and the install went perfect.

Thanks. I am not sure what happened, but at this point, who cares???

:-jon

Brian
10-30-2004, 06:03 PM
Glad you got it figured out. :)