PDA

View Full Version : problem in installation


supermood
12-21-2005, 06:44 AM
Parse error: parse error, unexpected T_STRING in /var/www/html/indebleu/calendar/license.php on line 9

I am getting this error when I enter the order number and try to obtain a licence key.

Please advise
thx



here's the installation directory

www.bleu.com/indebleu/

Brian
12-21-2005, 09:52 AM
Please make sure the license file is uploaded in ASCII mode.

supermood
12-22-2005, 11:25 AM
Hey Bryan,
I tried uploading that file in ascii mode it didn't make a difference. My original installation was done via the installer. Please advise thx

Brian
12-22-2005, 11:55 AM
Can you open a support ticket and attach that file?

Spot
01-05-2006, 10:48 PM
Hi

I have uploaded in Binary and ASCII according to the Installation: Zend instructions, then changed the various permissions, only to get write permission errors on the config.inc.php, calendar.php and license.php files.

I done a number of other uploads (the test worked fine by the way) in Binary and/or ASCII and tried 755 permissions, but am getting exactly the same errors.

Any ideas, thanks

ve9gra
01-05-2006, 10:51 PM
With permissions, sometimes there's a mask applied that doesn't allow permissions of 646... so you might have to try 664 instead. At the most, try 666. (don't set permissions on .php files to anything with 7 as 7 means you give it execute permissions, a big no-no for security)

Spot
01-05-2006, 11:26 PM
Oh-thanks!

However, now I am getting:

Warning: main(../languages/English.inc.php) [function.main]: failed to open stream: Permission denied in /usr/home/0chroot/davidha/home/davidha/public_html/calendar/setup/index.php on line 55

Fatal error: main() [function.require]: Failed opening required '../languages/English.inc.php' (include_path='.:/usr/local/share/pear/') in /usr/home/0chroot/davidha/home/davidha/public_html/calendar/setup/index.php on line 55

ve9gra
01-06-2006, 07:32 AM
Well... that means that your permissions for that file are set incorrectly. User, Group and Other should be able to Read the file... (644).

Spot
01-06-2006, 08:56 AM
Nope. All permissions are set 646 at least...

Edit: Have tried all permissions from 646 to 755 and still get the Warning and Fatal error message (as above).

Spot
01-06-2006, 10:31 AM
Interesting - I've been trying to install Guestblock as well on the same server and have had the same permissions problems.

So. I put it (Guestblock) on TextDrive and it worked first time, maybe I'll just try to put Calendar on this one as well - just to see if it is a server related problem.

Spot
01-10-2006, 05:50 AM
For info: some installations require permissions to be set to 777 for installation.

ve9gra
01-10-2006, 07:41 AM
7 should never be required to run PHP scripts. A 7 means that you give users the right to execute that specific file. Since PHP is an interpreted language, there is no executable code in the file. All you need is read access (4), and the right to launch PHP. At the very most, some files will need write access (6) given either to the group (x6x) or all (xx6).

The combos to try for the files that require write access are, 646, 664, and 666.

Spot
01-10-2006, 08:46 AM
Well, I could not install using 755 (in this case installing Guestblock - off-topic I know) and after raising a ticket with my webhost, they advised 777 and it worked...