Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 11:09 pm EST
Geeklog Forums
migrate.php issues
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Please don't hate me 'cause I'm ... asking this question but I'm at loss completely. I did a fresh install of GL 1.3.11 and Forum 2.3.2 and this error persists.
Above happens after clicking on Convert.
I checked for the whitespace at the end of the following files:
migrate.php
lib-common.php
english.php (Forum)
english.php (GL)
Nothing seems to work. The only solution that did work was commenting the whole piece of code
// <!-- Begin
var allChecked;
function checkAll(field)
{
allChecked=true;
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
allChecked=false;
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
function confirmSubmit(text) {
var yes = confirm(text);
if (yes) return true;
else return false;
}
// End -->
</script>';
Anybody's experiencing this? Any suggestions how to solve this bugger are more than welcome
Geeklog Polish Support Team
Text Formatted Code
Warning: Cannot add header information - headers already sent by (output started at /home/training/public_html/1311/admin/plugins/forum/migrate.php:72) in /home/training/public_html/1311/lib-common.php(973) : eval()'d code on line 1Above happens after clicking on Convert.
I checked for the whitespace at the end of the following files:
migrate.php
lib-common.php
english.php (Forum)
english.php (GL)
Nothing seems to work. The only solution that did work was commenting the whole piece of code
Text Formatted Code
echo '<script language="javascript">// <!-- Begin
var allChecked;
function checkAll(field)
{
allChecked=true;
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
allChecked=false;
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
function confirmSubmit(text) {
var yes = confirm(text);
if (yes) return true;
else return false;
}
// End -->
</script>';
Anybody's experiencing this? Any suggestions how to solve this bugger are more than welcome
Geeklog Polish Support Team
11
15
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Thank you Dirk for your response. I'm using this forum release forum_2.3.2_1.3.9.zip (I haven't found anything else) and the 72 line is the last line from the code I posted above (closing script tag). I have no idea what this code does. If it's commented there is no error an conversion works but ... that's no the way to solve issues
Geeklog Polish Support Team
Geeklog Polish Support Team
11
15
Quote
Status: offline
r_f_o_t
Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Quote by Robin: I was wondering whether this is only my issue. Could someone try the function Convert at their site and check whether this returns any errors?
Thanks
Thanks
Same errors on my dev box here. I checked Blaine's forum and nothing seemed to be there about it. Hopefully he'll see this thread soon.
Chuck
Too many hands on my time.
8
21
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by r_f_o_t:Same errors on my dev box here.
So it's not my imagination Thank you Chuck for your answer
Anybody else
BTW
I checked the combination of GL 1.3.9 and Forum 2.3.2 and this behavior doesn't occur
Geeklog Polish Support Team
9
15
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Robin,
You will need to move that echo of the javascript function in the script to after the call to COM_siteHeader - approx line 290
So it would be:
echo COM_siteHeader();
// Check if the number of records was specified to show
if (empty($show)) {
$show = 20;
}
// Check if this is the first page.
if (empty($page)) {
$page = 1;
}
echo '<script language="javascript">
<!-- Begin
var allChecked;
function checkAll(field)
{
allChecked=true;
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
allChecked=false;
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
function confirmSubmit(text) {
var yes = confirm(text);
if (yes) return true;
else return false;
}
// End -->
</script>';
echo COM_startBlock("STORY TO FORUM MIGRATION UTILITY");
echo ppNavbar($navbarMenu,$LANG_GF06['5']);
Geeklog components by PortalParts -- www.portalparts.com
You will need to move that echo of the javascript function in the script to after the call to COM_siteHeader - approx line 290
So it would be:
Text Formatted Code
echo COM_siteHeader();
// Check if the number of records was specified to show
if (empty($show)) {
$show = 20;
}
// Check if this is the first page.
if (empty($page)) {
$page = 1;
}
echo '<script language="javascript">
<!-- Begin
var allChecked;
function checkAll(field)
{
allChecked=true;
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
allChecked=false;
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
function confirmSubmit(text) {
var yes = confirm(text);
if (yes) return true;
else return false;
}
// End -->
</script>';
echo COM_startBlock("STORY TO FORUM MIGRATION UTILITY");
echo ppNavbar($navbarMenu,$LANG_GF06['5']);
Geeklog components by PortalParts -- www.portalparts.com
12
15
Quote
All times are EST. The time is now 11:09 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content