Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: php framework
08-02-2014, 02:46 PM #1
- Join Date
- Jun 2014
- Thanked 0 Times in 0 Posts
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
<h2>Checking File & 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)
<form name="installation" method="post" id="installation">
<div style="padding:10px 0px" align="right">
<?=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; ?>
08-02-2014, 04:34 PM #2
- Join Date
- Oct 2006
- Denver, Colorado USA
- Thanked 394 Times in 385 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.