Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:02 pm EST

Geeklog Forums

File Management Addon


LoungeLizard

Anonymous
I have installed File Management Addon and every seemed to work great every thing I tried to do worked except when I click on the File Management Admin link I get this error please advise

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/content/l/o/u/loungelizard/html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 464

Parse error: parse error, unexpected T_STRING in /home/content/l/o/u/loungelizard/html/geeklog/public_html/admin/plugins/filemgmt/index.php on line 464

Thanks in Advance
LoungeLizard
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Can you include the lines around line that is erroring from that file?

Geeklog components by PortalParts -- www.portalparts.com
 Quote

LoungeLizard

Anonymous
here is lines 470-490

Text Formatted Code
        $file = fopen($configfile, "w");
        $content = "";
        $content .= "<?php\n";
        $content .= "\n";
        $content .= "\$mydownloads_popular      = $xmydownloads_popular;\n";
        $content .= "\$mydownloads_newdownloads = $xmydownloads_newdownloads;\n";
        $content .= "\$mydownloads_perpage      = $xmydownloads_perpage;\n";
        $content .= "\$mydownloads_trimdesc     = $xmydownloads_trimdesc;\n";
        $content .= "\$mydownloads_whatsnew     = $xmydownloads_whatsnew;\n";
        $content .= "\$mydownloads_dlreport     = $xmydownloads_dlreport;\n";
        $content .= "\$mydownloads_selectpriv   = $xmydownloads_selectpriv;\n";
        $content .= "\$mydownloads_publicpriv   = $xmydownloads_publicpriv;\n";
        $content .= "\$mydownloads_uploadselect = $xmydownloads_uploadselect;\n";
        $content .= "\$mydownloads_uploadpublic = $xmydownloads_uploadpublic;\n";
        $content .= "\$mydownloads_useshots     = $xmydownloads_useshots;\n";
        $content .= "\$mydownloads_shotwidth    = $xmydownloads_shotwidth;\n";
        $content .= "\$filemgmt_Emailoption     = $my_emailoption;\n";
        $content .= "\$filemgmt_FileStore        = \"$my_filestore\";\n";
        $content .= "\$filemgmt_SnapStore        = \"$my_snapstore\";\n";
        $content .= "\$filemgmt_SnapCat          = \"$my_snapcat\";\n";
        $content .= "\$filemgmt_FileStoreURL     = \"$my_filestoreurl\";\n";
        $content .= "\$filemgmt_FileSnapURL      = \"$my_filesnapurl\";\n";
        $content .= "\$filemgmt_SnapCatURL       = \"$my_snapcaturl\";\n";
        $content .= "\n";
        $content .= "?>\n";

        fwrite($file, $content);
        fclose($file);
        redirect_header("{$_CONF['site_admin_url']}/plugins/filemgmt/index.php",2,_MD_CONFIGUPDATED);
        exit();
}

 

Thanks alot for your help
 Quote

LoungeLizard

Anonymous
Sorry its lines 462-490

and this is the line is stays its having problem with

$content .= "
Thanks again
 Quote

All times are EST. The time is now 11:02 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