Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: php framework

  1. #1
    New Coder
    Join Date
    Jun 2014
    Thanked 0 Times in 0 Posts

    php framework

    Kindly tell the error during the framework installation downloaded from ClipBucket – Download ClipBucket 2.6.
    The framework is here.
    ClipBucket v2.6 STABLE Installer
    The error is following.
    Parse error: syntax error, unexpected end of file in /home/vhosts/myproject.6te.net/cb_install/modes/permission.php on line 38
    HERE IS permission.php

    PHP Code:
    <h2>Checking File &amp; Directories Permissions</h2>
        ClipBucket need some files and folders permissions in order to store files properly, please make sure all files given below are chmod properly<br />
    <em>CHMOD : the chmod command (abbreviated from <strong>ch</strong>ange <strong>mod</strong>e) is a shell command and C language function in Unix and Unix-like  environments.</em></p>

    <? $permissions checkPermissions(); ?>
    foreach($permissions as $permission)
            <dt style="width:300px"><?=$permission['path']?></dt>

    <form name="installation" method="post" id="installation">
        <div style="padding:10px 0px" align="right">
        <?=button('Recheck',' onclick="$(\'#mode\').val(\'permission\');
         $(\'#installation\').submit()" '
        <?=button('Continue To Next Step',' onclick="$(\'#installation\').submit()" ');?></div>
        <?php if(!$upgrade): ?>
        <input type="hidden" name="mode" value="database"  id="mode"/>
        <?php else: ?>
        <input type="hidden" name="mode" value="dataimport"  id="mode"/>
        <?php endif; ?>

  2. #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Denver, Colorado USA
    Thanked 381 Times in 373 Posts
    If the person who wrote that code didn't know enough about php to publish an error free installation script, that would work regardless of php version or php configuration, can you imagine how badly the main script is written?

    Also, did you attempt to solve this yourself? You should ask the script's author, rather than a general programming help forum, which exist to help programmers with code they have written, rather than to fix bad code that someone published on the Internet.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts