Page 2 of 3

Posted: Sun 30. Apr 2006, 13:06
by flip-flop
so I have tested the install using the published release on multiple systems.
For me too. But during editing the conf files many users get a problem.
Some editors don´t understand Mac-Carriage Return #0D instead of #0D#0A(windows) or #0A(unix).

Knut

Posted: Sun 30. Apr 2006, 13:27
by juergen
So, heres my hint for a good combination under poor-Billys- OS ;) :

filezilla, as before and editing:

http://www.crimsoneditor.com/

Never ever had any of these problems under the combination of these two great programs.

Shure, only one of a couple of good combinations... !

Crimson is good for me to show code realations.

Jürgen

Posted: Sun 30. Apr 2006, 14:40
by flip-flop
@DF6IH

WOW, a editor für many programming languages with column-copy and macros and it´s free.

My new free favorites:
Editor: crimson (see above)
FTP/files/folders: total-commander http://www.ghisler.com/index.htm
and the snipped archive Faster Coding (german language) http://www.koolpeople.de/html/fastercoding.html
For german users who don´t like an engl. editor: http://www.editpad.de/ or http://www.koolpeople.de/html/title.html (HTML)

Knut

Posted: Sun 30. Apr 2006, 21:50
by Alex123
I deleted the whole directory and uploaded everything again using the Ftp client FileZilla but again I get the same error.

I do not get this error when using the older 1.2.6 DEV version.

So I thing I am going to go with the older version for now :(

Update: I am going to try again using Total Commander, but somehow I have a feeling that the way I upload the files is not whats causing the problem.

Posted: Mon 1. May 2006, 00:58
by Oliver Georgi
please tell me:
- what system do you use
- what kind of unzip application do you use

Oliver

I had same error

Posted: Mon 1. May 2006, 11:18
by Tidida
I was updating also from 1.2.5 and uploaded all the files (CuteFTP Auto detect) from windows XP, and got the same error. I tried to configure manually the conf.inc.php to see the web site, and then guess what could be wrong (the db was loaded with content) and I got the following error:

Parse error: parse error, unexpected T_FUNCTION in /home/user/public_html/addondomain/include/inc_lib/general.inc.php on line 1

I had something similar long time ago with another version. So I re-uploded, but nothing, same error if I tried direcly the upgrade.php.

I uploaded again all the files, did it 3 times.
I uploaded the zip file and decompress it on the server.
Downloaded the original file from another server. Uncompress it, compressit again, uploaded, etc.

Nothing.

Uploaded with the same client all the files from my backup and the site worked. Again.

The problem it seems to be with the "<?php", line 1 of the general.inc.php
I rewrite it, but nothing changed.

BTW I love phpwcms. I hope this helps. :D :shock:

Posted: Mon 1. May 2006, 12:52
by update
Hi Tidida

sometimes it helps just to open the "faulty" files with a clean editor (e.g. editpad) and save them again (or you just jump to line 1 and hit <delete> once and then insert the deleted iten and save again (there youdn't be any empty line at the very beginning of the file, you never know :wink:).

You can delete all uploaded files also and reupload them then (some ftp programs not always replace newly uploaded files automatically)

Greetings
claus

Re: I had same error

Posted: Mon 1. May 2006, 13:31
by Oliver Georgi
Tidida wrote:...Nothing....
But always tell which System exactly, which FTP client (version) and what unZip application are in use.

Oliver

Same error on Step 1

Posted: Mon 1. May 2006, 16:38
by DA7LE
Hi,

I have installed several versions and upgrades of phpwcms with few problems.
However, I have had this problem with latest 1.2.6 version.

I first downloaded 1.2.6 zip from sourceforge,
extracted with windows explorer (XP Pro SP2)
uploaded with AceFTP3, changed permissions etc.
FAILED with step1.inc.php
Viewed file saw problem with carriage returns.

Tried again same problem, edited step1.inc.php then had problem with general.inc.php ,
viewed some other scripts and found three or more with same carriage return problems.
Tried extracting with WinZip some improvement but not all cured.

Downloaded 1.2.6 version tgz extracted with WinZip checked problem files – OK!
Merged tgz version onto zip version, uploaded with FileZilla – installed fine.
(tried also with AceFTP3 also OK)

Hope this is of help to someone – great CMS!

Posted: Mon 1. May 2006, 17:54
by Oliver Georgi
zip and tgz are the same releases ;-)

Oliver

Posted: Mon 1. May 2006, 18:04
by dbrands79
It gets even funnier .... i had same problems when i uploaded zip version to my isp (unix). Tried same zip file with a local Xamp (on windows)installation .... voila no problemo.

Posted: Tue 2. May 2006, 01:58
by Alex123
Ok I found something interesting 8) when I upload by chossing for "Transfer Type" the Binary and not the Auto , everything seems to work fine :)

By the way, for uploading I use WS_FTP and for unziping WinZip.
I hope this might help somehow :wink:

Posted: Tue 2. May 2006, 03:10
by DeXXus
During FTP, in ASCII mode, the end-of-line characters are translated for you, from one platform-style to another. In binary mode, the end-of-line characters are left "as-is".

Must be that AUTO mode (and probably ASCII mode) is having a problem with *mixed* end of line characters! Should probably ALL be of one type (whether Unix, MAC or PC). :wink:
NOTE: Forced BINARY mode solved similar problem in this thread:
http://www.phpwcms.de/forum/viewtopic.php?p=64460#64460

Posted: Tue 2. May 2006, 04:54
by Pappnase
Alex123 wrote:Ok I found something interesting 8) when I upload by chossing for "Transfer Type" the Binary and not the Auto , everything seems to work fine :)

By the way, for uploading I use WS_FTP and for unziping WinZip.
I hope this might help somehow :wink:
hello

i had always such problems with ws_ftp thats why i change to filezilla!

[UPDATE]

Posted: Tue 2. May 2006, 06:11
by flip-flop
Hi at all, :D

since yesterday O.G. have build an new Update file for the version 1.26 called "patchSecure20060425_phpwcms_1.2.x.zip"
All files are made with an #0D#0A (Carriage return Line feed) for every EOF (End Of Line).
I hope this will solve the problems with many WIN FTP-Clients.

Download: http://www.phpwcms.de/forum/viewtopic.php?p=63686

[UPDATE]
At this time 02.05.06 06.37 (European time) there is no "clean" 1.2.6STAB (including CR LF) available. :cry:

Gruß Knut