MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Dec 04, 2008, 12:52 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Support
»
General Support
(Moderators:
zi
,
PaulGregory
)
»
New User throws Parse Error and cannot Publish pages
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: New User throws Parse Error and cannot Publish pages (Read 2822 times)
0 Members and 1 Guest are viewing this topic.
jamesqh
Jr. Member
Posts: 3
I love MODx!
New User throws Parse Error and cannot Publish pages
«
on:
Mar 05, 2006, 10:25 AM »
Hi all,
I've just installed the latest version on my Redhat Linux machine and have come across a couple of problems...
The first is: When I go to Manage Users and then click "New user" I get the error:
Parse error: parse error, unexpected $ in /var/www/vhosts/webnerd.com.au/subdomains/eventphotos/httpdocs/manager/actions/dynamic/mutate_user.dynamic.action.php on line 994
The second is: When I create a new page/document I cannot set the status to "Published". I can try to Edit the page, go to Page Settings, check the "Published?" box and Save it.. and it reports "Action was completed successfully!" but then the status is still "Un-published"
PHPInfo
Any help would be greatly appreciated
- James
[Edited: "line 995" --> "line 994"]
«
Last Edit: Mar 05, 2006, 11:54 AM by jamesqh
»
Logged
sottwell
Documentation Team
Posts: 8,170
Re: New User throws Parse Error and cannot Publish pages
«
Reply #1 on:
Mar 05, 2006, 11:21 AM »
Hm, sounds to me like your installation didn't go well, perhaps a few files got corrupted in the upload. I've had that happen a time or two. Try re-uploading a fresh unzipped copy of the Manager folder. That file only has 994 lines.
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
jamesqh
Jr. Member
Posts: 3
I love MODx!
Re: New User throws Parse Error and cannot Publish pages
«
Reply #2 on:
Mar 05, 2006, 11:46 AM »
Quote from: sottwell on Mar 05, 2006, 11:21 AM
Hm, sounds to me like your installation didn't go well, perhaps a few files got corrupted in the upload. I've had that happen a time or two. Try re-uploading a fresh unzipped copy of the Manager folder. That file only has 994 lines.
Hi scottwell,
The files were uncompressed on the server so there's no upload problems. Have downloaded and installed it twice with same problem.
Cheers,
James
Logged
sottwell
Documentation Team
Posts: 8,170
Re: New User throws Parse Error and cannot Publish pages
«
Reply #3 on:
Mar 05, 2006, 11:52 AM »
Ah, well it was worth considering. Sorry, that's the only suggestion I have; you'll get others here soon.
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
Djamoer
Testers
Posts: 1,492
No one can limit a man other than the man himself.
Re: New User throws Parse Error and cannot Publish pages
«
Reply #4 on:
Mar 05, 2006, 12:05 PM »
You might wanna try to reupload the files from your comp, and uncompressed the files first before uploading them. Remember, there is sometimes a problem in the compression tools itself. It's just my two cents, if it's still happening, I'll look into the file further.
Hope we can troubleshoot it more on monday maybe
Logged
Wendy Novianto (
DJAMOER Solution and Design
)
Search
|
Download Latest Release
|
General Support
About MODx
|
Documentation
|
Bugs/Wishlist
|
FORUM RULES
jamesqh
Jr. Member
Posts: 3
I love MODx!
Re: New User throws Parse Error and cannot Publish pages
«
Reply #5 on:
Mar 05, 2006, 12:07 PM »
Hi,
I just figured it out... the problems I mentioned occur when
(php.ini)
short_open_tag = Off
Should I report this somewhere?
(btw, just out of curiosity, does modx have coding standards like Pear? e.g.
http://pear.php.net/manual/en/standards.tags.php
)
Cheers,
- James
Logged
Dimmy
Testers
Posts: 1,824
Я не говорю по-русски 私は日本語を話さない
Re: New User throws Parse Error and cannot Publish pages
«
Reply #6 on:
Mar 05, 2006, 02:42 PM »
Quote from: jamesqh on Mar 05, 2006, 12:07 PM
Hi,
I just figured it out... the problems I mentioned occur when
(php.ini)
short_open_tag = Off
Should I report this somewhere?
please do.
you can report it in the
bug tracker
Greets Dimmy
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
neon_eddy
Full Member
Posts: 157
I like Turtles
Re: New User throws Parse Error and cannot Publish pages
«
Reply #7 on:
Mar 07, 2006, 11:13 PM »
I had the same issue.. in the mutate_user.dynamic.actions.php at line 994
at line 261 replace <? } ?> with <?php } ?>
Logged
~Shawn Himmelberger
Check out my
Minneapolis MODx Web Design
Company - Himmelberger Design | Also visit my friend's
Minneapolis Computer Repair
company - Alt Repair
rthrash
Foundation
Posts: 9,575
Re: New User throws Parse Error and cannot Publish pages
«
Reply #8 on:
Mar 08, 2006, 06:36 AM »
Thanks for finding this... just committed for 0.9.2. Anyone find any more of those short-tag-suckers floating around?
Logged
MODx
is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you
help us help you
,
read the wiki
, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @
Collabpad
work
productively.
work
intelligently.
work
together.
MODx
Current
|
Dev
|
SVN Root
|
JIRA (Bugs)
|
Confluence (097 Wiki)
|
Fisheye SVN Browser
Konrad
Jr. Member
Posts: 5
I love MODx!
Re: New User throws Parse Error and cannot Publish pages
«
Reply #9 on:
Mar 31, 2006, 09:58 AM »
Hope I found all...
assets/snippets/weblogin/websignup.inc.php:458:
Code:
<a href="[+action+]"><img align="top" src="manager/includes/veriword.php?rand=<? echo rand(); ?>" width="148" height="60" alt="If you have trouble reading the code, click on the code itself to generate a new random code." style="border: 1px solid #003399"></a>
manager/actions/dynamic/mutate_content.dynamic.action.php:312:
Code:
if (confirm('<?=$_lang['tmplvar_change_template_msg']?>')){
manager/actions/dynamic/mutate_user.dynamic.action.php:261:
Code:
<? } ?>
manager/actions/dynamic/mutate_web_user.dynamic.action.php:256:
Code:
<? } ?>
manager/includes/accesscontrol.inc.php:164:
Code:
<a href="
<?php
echo
$_SERVER
[
'PHP_SELF'
];
?>
"><img src="includes/veriword.php?rand=<? echo rand(); ?>" width="148" height="60" alt="
<?php
echo
$_lang
[
"login_captcha_message"
];
?>
" style="border: 1px solid #003399"></a>
manager/media/ImageEditor/Classes/Thumbnail.php:1:
Code:
<?
Logged
Konrad
Pages: [
1
]
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı