Strange error on step=1

Please post all install related problems here. Visit this forum first for troubleshooting.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Alex123
Posts: 20
Joined: Fri 21. Apr 2006, 18:25

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

please tell me:
- what system do you use
- what kind of unzip application do you use

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Tidida
Posts: 32
Joined: Thu 17. Jun 2004, 08:42
Location: Mexico City

I had same error

Post 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:
The syntax used is identical
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: I had same error

Post by Oliver Georgi »

Tidida wrote:...Nothing....
But always tell which System exactly, which FTP client (version) and what unZip application are in use.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
DA7LE
Posts: 1
Joined: Mon 1. May 2006, 16:28

Same error on Step 1

Post 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!
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

zip and tgz are the same releases ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
dbrands79
Posts: 1
Joined: Mon 1. May 2006, 18:02

Post 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.
Alex123
Posts: 20
Joined: Fri 21. Apr 2006, 18:25

Post 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:
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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
Pappnase

Post 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!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

[UPDATE]

Post 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
Last edited by flip-flop on Tue 2. May 2006, 16:10, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply