<![CDATA[ Forms - My Forums]]> https://forums.modx.com/thread/?thread=28877 <![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155489 opengeek Sep 13, 2009, 06:35 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155489 <![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155488
Execution time: 0.2441 s
[2009-09-13 14:09:30] (WARN @ C:\xampp\htdocs\RevB3\core\xpdo\om\xpdoobject.class.php : 932)

PHP notice: A non well formed numeric value encountered


I’ll be a few hours outside, I’m after.]]>
Mortal Sep 13, 2009, 12:14 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155488
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155487 Took the lead, changed the error by the following:

[2009-09-13 13:33:01] (ERROR @ /RevB3/core/components/storefinder/trunk/_build/build.schema.php)

Error parsing XML schema on line 1: Not well-formed (invalid token)

Execution time: 3.3785 s
[2009-09-13 13:33:02] (WARN @ C:\xampp\htdocs\RevB3\core\xpdo\om\xpdoobject.class.php : 932)

PHP notice: A non well formed numeric value encountered


With this address
<?php
define('MODX_CORE_PATH', 'C:/xampp/htdocs/RevB3/core/');
define('MODX_CONFIG_KEY', 'config');
?>


I’m starting all over again.]]>
Mortal Sep 13, 2009, 12:00 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155487
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155486
And yes, the missing end tag is on purpose; a habit I’ve gotten into after hours of debugging stange problems you might say... wink]]>
opengeek Sep 13, 2009, 10:49 AM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155486
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155485 Quote from: Mortal at Sep 13, 2009, 04:55 AM

And now I see it, nor is closed the script "?>"

Script closing tag "?>" is optional. In fact, including it can lead to problematic output as there might be whitespace characters in the file after the tag who will then be output directly. This prevents MODx from controlling headers sent to the browser, as they must be sent before any output. So I’m guessing that the developers will say the missing tag is not a bug, it is a feature grin]]>
jacob733 Sep 13, 2009, 01:32 AM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155485
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155484 I have made the installation of Revolution, which comes by default.
And the tutorial copy and paste, just rename the directory because it was different.

<?php
define('MODX_BASE_PATH', dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/RevB3/');
define('MODX_CORE_PATH', MODX_BASE_PATH . 'core/');
define('MODX_MANAGER_PATH', MODX_BASE_PATH . 'manager/');
define('MODX_CONNECTORS_PATH', MODX_BASE_PATH . 'connectors/');
define('MODX_ASSETS_PATH', MODX_BASE_PATH . 'assets/');


Tomorrow I will try again.
And now I see it, nor is closed the script "?>"]]>
Mortal Sep 12, 2009, 11:55 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155484
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155483
<?php
define('MODX_CORE_PATH', '/opt/local/apache2/htdocs/modx2.0.0/core/');
define('MODX_CONFIG_KEY', 'config');
?>

MODX_CORE_PATH simply needs to point at your core/ directory location...]]>
opengeek Sep 12, 2009, 11:29 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155483
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155482 He had already proven

Warning: include_once(C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 15

Warning: include_once() [function.include]: Failed opening 'C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 15

Fatal error: Class 'modX' not found in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 16


lossendae:
Have you tried it?]]>
Mortal Sep 12, 2009, 08:52 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155482
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms?page=2#dis-post-155481 Quote from: Mortal at Sep 12, 2009, 08:57 PM


I found the problem to define the way the file ’build.config.php’ in my case the directory is called RevB3:

**** With ’build.config.php’

2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’//’);

When you run ’build.schema.php’ I get this error:

>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core//core/model/modx/modx.class.php

Watch "RevB3\core//core/"

****And with ’build.config.php’

2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’/RevB3/’);

When you run ’build.schema.php’ I get this error:

>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php)

Watch "\RevB3\core/RevB3/core/"

***And the file "modx.class.php" I found it in

C:\xampp\htdocs\RevB3\core/model/modx/modx.class.php

How do I fix this?

The error might be coming from the first line "MODX_BASE_PATH", you forgot to put the directory name.

Try the replacing the line with following code:

<?php
define('MODX_BASE_PATH', dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/RevB3/');
]]>
lossendae Sep 12, 2009, 06:11 PM https://forums.modx.com/thread/28877/forms?page=2#dis-post-155481
<![CDATA[Re: Forms]]> https://forums.modx.com/thread/28877/forms#dis-post-155480 I found the problem to define the way the file ’build.config.php’ in my case the directory is called RevB3:

**** With ’build.config.php’

2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’//’);

When you run ’build.schema.php’ I get this error:

>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core//core/model/modx/modx.class.php

Watch "RevB3\core//core/"

****And with ’build.config.php’

2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’/RevB3/’);

When you run ’build.schema.php’ I get this error:

>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php)

Watch "\RevB3\core/RevB3/core/"

***And the file "modx.class.php" I found it in

C:\xampp\htdocs\RevB3\core/model/modx/modx.class.php

How do I fix this?]]>
Mortal Sep 12, 2009, 03:57 PM https://forums.modx.com/thread/28877/forms#dis-post-155480