how to run script online without access to PHP

Author Message

Kristoffer Raun

Monday 13 November 2006 2:16:46 pm

How can i run the script online:
updatecontentobjectname.php
and without access to usr/bin/php in shell mode?
I need to update the content object name in the classes

Thanks in advance

/Kristoffer

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

kracker (the)

Monday 13 November 2006 2:54:25 pm

Sorry, this is not recommended....

There are a number of dependent issues involved with this subject.
- It is s php-cli script which is different than stock php
- While you might be able to patch or hack the script to run,
I would not trust it as many other issues could cause it to
'timeout' and fail to complete it's task or simply catch a 'fatal' error.

<b>Reference</b>
<i>http://ez.no/community/forum/install_configuration/patch_for_systems_without_phpcli/re_patch_for_systems_without_phpcli</i>

I would urge you to seek a host which provides ssh access to the server as the best solution to reduce time exausted in search of a solution and remove this potential <b>major</b> breakdown in using and supporting an eZ publish installation.

I've been developing with eZ for just about 6 years now and I can't stress the above warning enough.

//kracker
<i>Modest Mouse - Paper Thin Walls ...</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kristoffer Raun

Monday 13 November 2006 3:30:52 pm

Thanks a lot.

I've dealt with this problem in a "detour"-way.
By taking the whole site to my local computer, using Cli-mode and then uploading the whole thing again. I was just wondering if there was an easier way.

I'm new to all this, have been using Ez in 1 1/2 year, everything selftaught and with the help of this forum. It has been a battle, but now it's great to say "yes this is certainly possible" to your boss ;-)

by the way why does "1/2" (when using the key on the keyboard) look like ½???
Anyway i will read your link and contact my hosting for ssh.

/Kristoffer

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

kracker (the)

Monday 13 November 2006 7:01:02 pm

<b>@Kristoffer</b>
<i>
>Thanks a lot.</i>

Your welcome :)

<i>
> I've dealt with this problem in a "detour"-way.
> By taking the whole site to my local computer,
> using Cli-mode and then uploading the whole thing again.
> I was just wondering if there was an easier way.</i>

This is a very smart detour indeed!

Though doing this to a production site with uptime requirements, search stats, or other data being created within the eZ publish db when the site is live might pose serious problems of availability, loss of db data during this 'window', etc a problem to this detour dead ends it's usefulness. We each have our own marching orders, sometimes not quite the same.

Still in lower requirements arena this is just the way it's still done (sadly).

<i>
> I'm new to all this, have been using Ez in 1 1/2 year,
> everything self taught and with the help of this forum.</i>

This is great to hear 'how long' from another user who's been
hooked up on all things eZ.

<i>
> It has been a battle, but now it's great to say "yes this is certainly possible" to your boss ;-)</i>

<b>Agreed</b>

<i>
> by the way why does "1/2" (when using the key on the keyboard) look like ½???</i>

I have no idea ... I honestly did not follow the context unspoken in how this would happen. Sorry. When in doubt, file a detailed bug report in the issue tracker :\

<i>
> Anyway i will read your link and contact my hosting for ssh.</i>

Shell access, root access, dedicated server environment, co-located hardware ... these are the tools of a craftsman.

<i>Time to stop taking it all so serious ...</i>

Best wishes
//kracker

<i>Modest Mouse - Karma Payment Plan</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.