You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(4) |
Aug
|
Sep
(8) |
Oct
(24) |
Nov
(1) |
Dec
(5) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(6) |
Feb
(50) |
Mar
(20) |
Apr
(101) |
May
(13) |
Jun
(44) |
Jul
(50) |
Aug
(84) |
Sep
(102) |
Oct
(103) |
Nov
(42) |
Dec
(29) |
| 2007 |
Jan
(84) |
Feb
(137) |
Mar
(40) |
Apr
(46) |
May
(67) |
Jun
(52) |
Jul
(36) |
Aug
(6) |
Sep
(22) |
Oct
(41) |
Nov
(72) |
Dec
(3) |
| 2008 |
Jan
(10) |
Feb
(8) |
Mar
|
Apr
(1) |
May
(9) |
Jun
(20) |
Jul
(18) |
Aug
(7) |
Sep
(12) |
Oct
(110) |
Nov
(44) |
Dec
(3) |
| 2009 |
Jan
(2) |
Feb
(21) |
Mar
(16) |
Apr
(34) |
May
(17) |
Jun
(4) |
Jul
(3) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(7) |
Dec
|
| 2010 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
|
From: Geoff <geo...@gm...> - 2010-09-21 17:25:06
|
I now believe the error may be with getid3. I did a fresh install ( tried the command i was worried about and it wanted to delete files in my _sitenamefiles directory so that no good. I then started to edit the approp files for split to explode and this time before trying to upload something i clicked on every link to see if would give an error. Before the error came while uploading file. I recreated it just by clicking on ID3 Tagger under manage site... Looking into a solution now On Tue, Sep 21, 2010 at 11:40 AM, Geoff <geo...@gm...> wrote: > I would be happy to try and do that. I am going to a fresh install, as i > did'nt keep good track of what files i edited. Also I ended up with same > problem as previous person. Decided to take a break and wait for a responce > to my first question. I just went back to try and upload project and I > recieved an error about submit. Thought was just a hickup so i tried again. > Now links that i click on that were working before all say not found on > server -- i.e The requested URL /cchost/submit was not found on this server. > This may not have been caused by error though, i mighta got sloppy and saved > something into .php file on accident somewwhere. > > I know the person in archive got the exact same message so i copied and > pasted it > > > ERROR(2) "/var/www/cchost/cchost_lib/cc-events.php"(222): > Parameter 2 to CCEditorials::OnGetSysTags() expected to be a > reference, value given [DATE & TIME][127.0.0.1][/submit/samples] An error occurred > > I don't really know php but i can usually look at most code and get a > little idea of what is going on, anyone have a fix to this? First reported > in Jan 2010 > > > > > > |
|
From: Geoff <geo...@gm...> - 2010-09-21 15:40:31
|
I would be happy to try and do that. I am going to a fresh install, as i did'nt keep good track of what files i edited. Also I ended up with same problem as previous person. Decided to take a break and wait for a responce to my first question. I just went back to try and upload project and I recieved an error about submit. Thought was just a hickup so i tried again. Now links that i click on that were working before all say not found on server -- i.e The requested URL /cchost/submit was not found on this server. This may not have been caused by error though, i mighta got sloppy and saved something into .php file on accident somewwhere. I know the person in archive got the exact same message so i copied and pasted it ERROR(2) "/var/www/cchost/cchost_lib/cc-events.php"(222): Parameter 2 to CCEditorials::OnGetSysTags() expected to be a reference, value given [DATE & TIME][127.0.0.1][/submit/samples] An error occurred I don't really know php but i can usually look at most code and get a little idea of what is going on, anyone have a fix to this? First reported in Jan 2010 On Tue, Sep 21, 2010 at 9:56 AM, Asheesh Laroia <as...@as...> wrote: > On Tue, 21 Sep 2010, Geoff wrote: > > > Hello, > > > > Before finding the archives of mailing list i searched for an answer to > > Function split() is deprecated, but could not find anything specific to > > cchost. I did however find elsewhere to use explode and then when i found > > the archive (or actually thought to use it) i found someone else post the > > use of explode as well. > > > > Anyways, I am now up to editing my third file in cchost [ > > cchost_lib/cc-util.php , cc-upload-forms.php & > ccextras/cc-file-props.php ] > > and am wondering if there is a list of files that needed to be edited > rather > > then checking everywhere to see if an error pops up. > > > > The post in archive mentions > > > > > > find . -type f | xargs perl -pi -e 's/ split\(/ explode\(/g'; > > > > > > however i was not sure if that was correct solution as it does not even > list > > the cchost directory anywhere to even search > > Hi there! The "." in that command line refers to the current working > directory. So if you "cd" into the ccHost directory, then the "." > refers to the ccHost directory. > > I think that the above would work fine. I think that if it seems to work > for you, you should submit a patch so that this modification becomes part > of the next version of ccHost. > > -- Asheesh. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Cctools-cchost mailing list > Cct...@li... > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > -- __________________ Violence breeds violence we need a world court not a republican with his hands covered in oil and military hardware lecturing us on world security! |
|
From: Asheesh L. <as...@as...> - 2010-09-21 13:56:52
|
On Tue, 21 Sep 2010, Geoff wrote: > Hello, > > Before finding the archives of mailing list i searched for an answer to > Function split() is deprecated, but could not find anything specific to > cchost. I did however find elsewhere to use explode and then when i found > the archive (or actually thought to use it) i found someone else post the > use of explode as well. > > Anyways, I am now up to editing my third file in cchost [ > cchost_lib/cc-util.php , cc-upload-forms.php & ccextras/cc-file-props.php ] > and am wondering if there is a list of files that needed to be edited rather > then checking everywhere to see if an error pops up. > > The post in archive mentions > > > find . -type f | xargs perl -pi -e 's/ split\(/ explode\(/g'; > > > however i was not sure if that was correct solution as it does not even list > the cchost directory anywhere to even search Hi there! The "." in that command line refers to the current working directory. So if you "cd" into the ccHost directory, then the "." refers to the ccHost directory. I think that the above would work fine. I think that if it seems to work for you, you should submit a patch so that this modification becomes part of the next version of ccHost. -- Asheesh. |
|
From: Geoff <geo...@gm...> - 2010-09-21 13:07:24
|
Hello, Before finding the archives of mailing list i searched for an answer to Function split() is deprecated, but could not find anything specific to cchost. I did however find elsewhere to use explode and then when i found the archive (or actually thought to use it) i found someone else post the use of explode as well. Anyways, I am now up to editing my third file in cchost [ cchost_lib/cc-util.php , cc-upload-forms.php & ccextras/cc-file-props.php ] and am wondering if there is a list of files that needed to be edited rather then checking everywhere to see if an error pops up. The post in archive mentions find . -type f | xargs perl -pi -e 's/ split\(/ explode\(/g'; however i was not sure if that was correct solution as it does not even list the cchost directory anywhere to even search any ideas on how i can be sure to get all the split() functions out of cchost Thank You, Geoff |
|
From: Dave C. <da...@la...> - 2010-01-13 09:11:43
|
Hi, I am deploying ccHost on a fresh Fedora 12 machine, and the PHP packaged with Fedora gives an error on first view of the site, complaining about split() be deprecated; I found the fix is to replace it with explode(), which is easy enough: find . -type f | xargs perl -pi -e 's/ split\(/ explode\(/g'; But when I go to upload a font I get this error: ERROR(2) "/var/www/cchost/cchost_lib/cc-events.php"(222): Parameter 2 to CCEditorials::OnGetSysTags() expected to be a reference, value given [2010-01-13 22:04 pm][127.0.0.1][/submit/samples] An error occurred Both the split() and the reference/value thing are in the 5.1 release and current SVN version. Cheers Dave |
|
From: Victor S. <fou...@gm...> - 2010-01-13 02:10:52
|
http://wiki.creativecommons.org/Cchost/admin/System_Backups#Sharing_Configurations_Between_Machines Explains how to use the /export and /import command to easily deal with config. The main code branch is still "live" on ccMixter, ATM has not done the branch yet. After the branch converting to a index'd table orientation should be doable considering access to config is all (?) done from one place, although I would recommend extremely comprehensive testing of just about every feature. VS On Tue, Jan 12, 2010 at 2:31 PM, Dave Crossland <da...@la...> wrote: > Hi, > > The ccHost database has a table, cc_tbl_config, with a lot of > configuation data which is fed in/out of PHP via serialize(). This > makes migrating ccHost instances tricky. > > What is the current status of the ccHost codebase? :-) > > I'd like to suggest it would be good if the configuration was in a > configuation file that could be edited in a normal way :-) > > -- > Regards, > Dave > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Cctools-cchost mailing list > Cct...@li... > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > |
|
From: Dave C. <da...@la...> - 2010-01-13 00:57:39
|
Hi, The ccHost database has a table, cc_tbl_config, with a lot of configuation data which is fed in/out of PHP via serialize(). This makes migrating ccHost instances tricky. What is the current status of the ccHost codebase? :-) I'd like to suggest it would be good if the configuration was in a configuation file that could be edited in a normal way :-) -- Regards, Dave |
|
From: Victor S. <vic...@gm...> - 2009-11-30 15:15:10
|
That fact that index.php is dumping into your browser does not bode
well for your lamp configuration. It could be anything from character
encoding to file types to....
sorry,
VS
On Mon, Nov 30, 2009 at 4:05 PM, Geoff <geo...@gm...> wrote:
> Yes php mysql and apache are all working happily together as they should.
> Currently running wordpress with no problems as of yet.
>
> Must be a bug in the system (wich i love by the way). There is something
> different i am guessing in windows php than that of linux (wich runs it
> fine).
>
> I used a msi installer to install php - if you think it might help or you
> just need to know if there is any difference i can manually install php to
> find out if that helps..... who knows though, i might be way off base here
>
> On Mon, Nov 30, 2009 at 9:08 AM, Victor Stone <vic...@gm...>
> wrote:
>>
>> On Mon, Nov 30, 2009 at 3:08 PM, Victor Stone <vic...@gm...>
>> wrote:
>> > to be honest, it's possible nobody has tried a ccHost install on Win
>> > for a few years.
>> >
>> > What you're describing below looks like a problem in the environment -
>> > as in: perhaps php is not 100% installed properly in apache. Instead
>> > of processing the php script it's just dumping index.php out to your
>> > screen. To be sure everything is good put file called info.php with
>> > the following:
>> >
>> > <? phpinfo(); ?>
>> >
>> > And then browse the /info.php to see everything is happy. Make sure
>> > there is a mysql section in the php info dump.
>> >
>> > VS
>> >
>> > On Mon, Nov 30, 2009 at 12:51 AM, Geoff <geo...@gm...> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I previously setup cchost on ubuntu with your help. As soon as i
>> >> upgraded the file you suggested it worked right away.
>> >> Now I am trying to get it going on a Win XP install and am having no
>> >> luck. I installed php,mysql and apache manually (and as a test i tried with
>> >> XAMPP) and all with same results.
>> >>
>> >> When i go to install i get a page of garbled text
>> >>
>> >> ""
>> >> ccHost has not been properly upgraded. Please follow these steps for a
>> >> successful upgrade.'); } die('ccHost has not been properly installed. Please
>> >> follow these steps for a successful setup.'); } /* * All ccHost includes
>> >> require this define to prevent direct * web access to them. */
>> >> define('IN_CC_HOST', true); /* * The .cc-ban.txt file is written by doing
>> >> 'Account Management' * from the user's profile. We don't assume that ccHost
>> >> is * running under Apache, otherwise we would do this through * Deny in
>> >> .htaccess */ if( file_exists('.cc-ban.txt') ) require_once('.cc-ban.txt');
>> >> /* * We make a special include for debug so that modules can turn * it on as
>> >> quickly as possible. */ require_once('cchost_lib/cc-debug.php'); /* *
>> >> Logging errors to a file this will help ccHost developers * when things go
>> >> wrong on your site */ CCDebug::LogErrors( $cc_error_level ); /* * We catch
>> >> errors and handle them according log file settings */
>> >> CCDebug::InstallErrorHandler(true); /* * Internaitionalization requires (for
>> >> now) that gettext be * compiled into PHP */ if( !function_exists('gettext')
>> >> ) require_once('cchost_lib/ccextras/cc-no-gettext.inc'); /* * Include core
>> >> modules and extras that come with the * ccHost package */
>> >> require_once('cchost_lib/cc-includes.php'); $cc_extras_dirs =
>> >> 'cchost_lib/ccextras'; include('cchost_lib/cc-inc-extras.php');
>> >> require_once('cchost_lib/cc-custom.php');
>> >> require_once('cchost_lib/cc-template-api.php'); /* * Configuration
>> >> initialized here */ CCConfigs::Init(); /* * We don't want to encourage
>> >> ccHost installations to have * their installation directories open to the
>> >> public. We * check it here after Configs::Init because the admin can *
>> >> disable the site while doing other work (like a SVN * update) */ if(
>> >> file_exists('ccadmin') ) { die('' . _('ccHost installation is not
>> >> complete.') . ' ' . _('For security reasons, you should rename "ccadmin".')
>> >> . ''); } /* * Pick up 3rd party PHP modules */ if(
>> >> !empty($CC_GLOBALS['extra-lib']) ) { $cc_extras_dirs =
>> >> $CC_GLOBALS['extra-lib']; include('cchost_lib/cc-inc-extras.php'); } /* *
>> >> User is logged in after this call */ CCUser::InitCurrentUser(); /* * Don't
>> >> generate the page if the browser already has * the latest version */
>> >> cc_check_if_modified(); /* * Let all the modules know that config is set *
>> >> and user has been logged in. */ CCEvents::Invoke(CC_EVENT_APP_INIT); /* *
>> >> Process incoming URL */ CCEvents::PerformAction(); /* * Show the resulting
>> >> page */ require_once('cchost_lib/cc-page.php'); CCPage::Show(); /* * Shut
>> >> down the session */ CCDebug::InstallErrorHandler(false);
>> >> CCEvents::Invoke(CC_EVENT_APP_DONE); ?>
>> >>
>> >> ""
>> >>
>> >> I click on link to follow steps and get a message at the top
>> >>
>> >> ""
>> >> ccHost has detected \'../cc-host-db.php\' exists. Please move this file
>> >> out of the way before proceeding with visiting your current URL/path for
>> >> successful installation. '); } chdir('..'); if(
>> >> !empty($_REQUEST['rewritehelp']) ) get_rewrite_help(); $step =
>> >> empty($_REQUEST['step']) ? '1' : $_REQUEST['step']; if( intval($step) == 4 )
>> >> { // we have to login before headers are sent do_login(); } $install_title =
>> >> 'ccHost Installation'; include( dirname(__FILE__) . '/cc-install-head.php');
>> >> $stepfunc = 'step_' . $step; $stepfunc(); print(''); function step_1() { $v
>> >> = split('\.',phpversion()); if( intval($v[0]) < 4 ) { $vmsg = "It doesn't
>> >> look like you're running on PHP 4, you can't run ccHost until you upgrade.";
>> >> } else { $vmsg = "It looks like you're running on a supported version of
>> >> PHP"; } $id3suggest = $_SERVER['DOCUMENT_ROOT'] . '/getid3'; include(
>> >> dirname(__FILE__) . '/cc-install-intro.php' ); } function step_1a() { ?>
>> >>
>> >> ""
>> >>
>> >> Also i remember from installing on ubuntu that page was formated nice
>> >> and did not look like this. Also in the section that shows you your php.ini
>> >> settings and the suggested values looks like this
>> >>
>> >> ""
>> >> etting NameDescriptionCurrent
>> >> ValueSuggested
>> >> Value
>> >> $n{$d['m']}
>> >>
>> >> You're almost done, there's one more step...
>> >>
>> >> ""
>> >>
>> >> I have a .pdf printout of the complete page - wasnt sure if i could
>> >> attach here. Please help me get this going on XP
>> >>
>> >> PS -- the cHost has detected \'../cc-host-db.php\' exists. error (error
>> >> #2) I searched everywhere for that file and can not find it
>> >> --
>> >> __________________
>> >> Violence breeds violence
>> >> we need a world court
>> >> not a republican with his hands covered in oil and military hardware
>> >> lecturing us on world security!
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> >> 30-Day
>> >> trial. Simplify your report design, integration and deployment - and
>> >> focus on
>> >> what you do best, core application coding. Discover what's new with
>> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> >> _______________________________________________
>> >> Cctools-cchost mailing list
>> >> Cct...@li...
>> >> https://lists.sourceforge.net/lists/listinfo/cctools-cchost
>> >>
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Cctools-cchost mailing list
>> Cct...@li...
>> https://lists.sourceforge.net/lists/listinfo/cctools-cchost
>
>
>
> --
> __________________
> Violence breeds violence
> we need a world court
> not a republican with his hands covered in oil and military hardware
> lecturing us on world security!
>
|
|
From: Victor S. <vic...@gm...> - 2009-11-30 14:08:46
|
On Mon, Nov 30, 2009 at 3:08 PM, Victor Stone <vic...@gm...> wrote:
> to be honest, it's possible nobody has tried a ccHost install on Win
> for a few years.
>
> What you're describing below looks like a problem in the environment -
> as in: perhaps php is not 100% installed properly in apache. Instead
> of processing the php script it's just dumping index.php out to your
> screen. To be sure everything is good put file called info.php with
> the following:
>
> <? phpinfo(); ?>
>
> And then browse the /info.php to see everything is happy. Make sure
> there is a mysql section in the php info dump.
>
> VS
>
> On Mon, Nov 30, 2009 at 12:51 AM, Geoff <geo...@gm...> wrote:
>>
>> Hello,
>>
>> I previously setup cchost on ubuntu with your help. As soon as i upgraded the file you suggested it worked right away.
>> Now I am trying to get it going on a Win XP install and am having no luck. I installed php,mysql and apache manually (and as a test i tried with XAMPP) and all with same results.
>>
>> When i go to install i get a page of garbled text
>>
>> ""
>> ccHost has not been properly upgraded. Please follow these steps for a successful upgrade.'); } die('ccHost has not been properly installed. Please follow these steps for a successful setup.'); } /* * All ccHost includes require this define to prevent direct * web access to them. */ define('IN_CC_HOST', true); /* * The .cc-ban.txt file is written by doing 'Account Management' * from the user's profile. We don't assume that ccHost is * running under Apache, otherwise we would do this through * Deny in .htaccess */ if( file_exists('.cc-ban.txt') ) require_once('.cc-ban.txt'); /* * We make a special include for debug so that modules can turn * it on as quickly as possible. */ require_once('cchost_lib/cc-debug.php'); /* * Logging errors to a file this will help ccHost developers * when things go wrong on your site */ CCDebug::LogErrors( $cc_error_level ); /* * We catch errors and handle them according log file settings */ CCDebug::InstallErrorHandler(true); /* * Internaitionalization requires (for now) that gettext be * compiled into PHP */ if( !function_exists('gettext') ) require_once('cchost_lib/ccextras/cc-no-gettext.inc'); /* * Include core modules and extras that come with the * ccHost package */ require_once('cchost_lib/cc-includes.php'); $cc_extras_dirs = 'cchost_lib/ccextras'; include('cchost_lib/cc-inc-extras.php'); require_once('cchost_lib/cc-custom.php'); require_once('cchost_lib/cc-template-api.php'); /* * Configuration initialized here */ CCConfigs::Init(); /* * We don't want to encourage ccHost installations to have * their installation directories open to the public. We * check it here after Configs::Init because the admin can * disable the site while doing other work (like a SVN * update) */ if( file_exists('ccadmin') ) { die('' . _('ccHost installation is not complete.') . ' ' . _('For security reasons, you should rename "ccadmin".') . ''); } /* * Pick up 3rd party PHP modules */ if( !empty($CC_GLOBALS['extra-lib']) ) { $cc_extras_dirs = $CC_GLOBALS['extra-lib']; include('cchost_lib/cc-inc-extras.php'); } /* * User is logged in after this call */ CCUser::InitCurrentUser(); /* * Don't generate the page if the browser already has * the latest version */ cc_check_if_modified(); /* * Let all the modules know that config is set * and user has been logged in. */ CCEvents::Invoke(CC_EVENT_APP_INIT); /* * Process incoming URL */ CCEvents::PerformAction(); /* * Show the resulting page */ require_once('cchost_lib/cc-page.php'); CCPage::Show(); /* * Shut down the session */ CCDebug::InstallErrorHandler(false); CCEvents::Invoke(CC_EVENT_APP_DONE); ?>
>>
>> ""
>>
>> I click on link to follow steps and get a message at the top
>>
>> ""
>> ccHost has detected \'../cc-host-db.php\' exists. Please move this file out of the way before proceeding with visiting your current URL/path for successful installation. '); } chdir('..'); if( !empty($_REQUEST['rewritehelp']) ) get_rewrite_help(); $step = empty($_REQUEST['step']) ? '1' : $_REQUEST['step']; if( intval($step) == 4 ) { // we have to login before headers are sent do_login(); } $install_title = 'ccHost Installation'; include( dirname(__FILE__) . '/cc-install-head.php'); $stepfunc = 'step_' . $step; $stepfunc(); print(''); function step_1() { $v = split('\.',phpversion()); if( intval($v[0]) < 4 ) { $vmsg = "It doesn't look like you're running on PHP 4, you can't run ccHost until you upgrade."; } else { $vmsg = "It looks like you're running on a supported version of PHP"; } $id3suggest = $_SERVER['DOCUMENT_ROOT'] . '/getid3'; include( dirname(__FILE__) . '/cc-install-intro.php' ); } function step_1a() { ?>
>>
>> ""
>>
>> Also i remember from installing on ubuntu that page was formated nice and did not look like this. Also in the section that shows you your php.ini settings and the suggested values looks like this
>>
>> ""
>> etting NameDescriptionCurrent
>> ValueSuggested
>> Value
>> $n{$d['m']}
>>
>> You're almost done, there's one more step...
>>
>> ""
>>
>> I have a .pdf printout of the complete page - wasnt sure if i could attach here. Please help me get this going on XP
>>
>> PS -- the cHost has detected \'../cc-host-db.php\' exists. error (error #2) I searched everywhere for that file and can not find it
>> --
>> __________________
>> Violence breeds violence
>> we need a world court
>> not a republican with his hands covered in oil and military hardware lecturing us on world security!
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Cctools-cchost mailing list
>> Cct...@li...
>> https://lists.sourceforge.net/lists/listinfo/cctools-cchost
>>
>
|
|
From: Geoff <geo...@gm...> - 2009-11-29 23:52:01
|
Hello, I previously setup cchost on ubuntu with your help. As soon as i upgraded the file you suggested it worked right away. Now I am trying to get it going on a Win XP install and am having no luck. I installed php,mysql and apache manually (and as a test i tried with XAMPP) and all with same results. When i go to install i get a page of garbled text "" ccHost has not been properly upgraded. Please follow these steps<http://digitaltrainwreck.com/cchost/ccadmin/>for a successful upgrade.'); } die('ccHost has not been properly installed. Please follow these steps <http://digitaltrainwreck.com/cchost/ccadmin/> for a successful setup.'); } /* * All ccHost includes require this define to prevent direct * web access to them. */ define('IN_CC_HOST', true); /* * The .cc-ban.txt file is written by doing 'Account Management' * from the user's profile. We don't assume that ccHost is * running under Apache, otherwise we would do this through * Deny in .htaccess */ if( file_exists('.cc-ban.txt') ) require_once('.cc-ban.txt'); /* * We make a special include for debug so that modules can turn * it on as quickly as possible. */ require_once('cchost_lib/cc-debug.php'); /* * Logging errors to a file this will help ccHost developers * when things go wrong on your site */ CCDebug::LogErrors( $cc_error_level ); /* * We catch errors and handle them according log file settings */ CCDebug::InstallErrorHandler(true); /* * Internaitionalization requires (for now) that gettext be * compiled into PHP */ if( !function_exists('gettext') ) require_once('cchost_lib/ccextras/cc-no-gettext.inc'); /* * Include core modules and extras that come with the * ccHost package */ require_once('cchost_lib/cc-includes.php'); $cc_extras_dirs = 'cchost_lib/ccextras'; include('cchost_lib/cc-inc-extras.php'); require_once('cchost_lib/cc-custom.php'); require_once('cchost_lib/cc-template-api.php'); /* * Configuration initialized here */ CCConfigs::Init(); /* * We don't want to encourage ccHost installations to have * their installation directories open to the public. We * check it here after Configs::Init because the admin can * disable the site while doing other work (like a SVN * update) */ if( file_exists('ccadmin') ) { die('' . _('ccHost installation is not complete.') . ' ' . _('For security reasons, you should rename "ccadmin".') . ''); } /* * Pick up 3rd party PHP modules */ if( !empty($CC_GLOBALS['extra-lib']) ) { $cc_extras_dirs = $CC_GLOBALS['extra-lib']; include('cchost_lib/cc-inc-extras.php'); } /* * User is logged in after this call */ CCUser::InitCurrentUser(); /* * Don't generate the page if the browser already has * the latest version */ cc_check_if_modified(); /* * Let all the modules know that config is set * and user has been logged in. */ CCEvents::Invoke(CC_EVENT_APP_INIT); /* * Process incoming URL */ CCEvents::PerformAction(); /* * Show the resulting page */ require_once('cchost_lib/cc-page.php'); CCPage::Show(); /* * Shut down the session */ CCDebug::InstallErrorHandler(false); CCEvents::Invoke(CC_EVENT_APP_DONE); ?> "" I click on link to follow steps and get a message at the top "" ccHost has detected \'../cc-host-db.php\' exists. Please move this file out of the way before proceeding with visiting your current URL/path for successful installation. '); } chdir('..'); if( !empty($_REQUEST['rewritehelp']) ) get_rewrite_help(); $step = empty($_REQUEST['step']) ? '1' : $_REQUEST['step']; if( intval($step) == 4 ) { // we have to login before headers are sent do_login(); } $install_title = 'ccHost Installation'; include( dirname(__FILE__) . '/cc-install-head.php'); $stepfunc = 'step_' . $step; $stepfunc(); print(''); function step_1() { $v = split('\.',phpversion()); if( intval($v[0]) < 4 ) { $vmsg = "It doesn't look like you're running on PHP 4, you can't run ccHost until you upgrade."; } else { $vmsg = "It looks like you're running on a supported version of PHP"; } $id3suggest = $_SERVER['DOCUMENT_ROOT'] . '/getid3'; include( dirname(__FILE__) . '/cc-install-intro.php' ); } function step_1a() { ?> "" Also i remember from installing on ubuntu that page was formated nice and did not look like this. Also in the section that shows you your php.ini settings and the suggested values looks like this "" etting NameDescriptionCurrent ValueSuggested Value *$n*{$d['m']} You're almost done, there's one more step...<http://digitaltrainwreck.com/cchost/ccadmin/?step=4> "" I have a .pdf printout of the complete page - wasnt sure if i could attach here. Please help me get this going on XP PS -- the cHost has detected \'../cc-host-db.php\' exists. error (error #2) I searched everywhere for that file and can not find it -- __________________ Violence breeds violence we need a world court not a republican with his hands covered in oil and military hardware lecturing us on world security! |
|
From: Geoff <geo...@gm...> - 2009-11-25 23:31:28
|
Thank You very much. That did the trick On Tue, Nov 24, 2009 at 11:21 AM, Victor Stone <vic...@gm...>wrote: > Howdy, > > Actually I think there is something new in php that triggering the > behavior - this has been popping up few times in the last month or so. > > There's a new cc-fileverify.php checked in 2 weeks ago that should fix > it. Download from here: > > > http://code.creativecommons.org/viewsvn/cchost/trunk/cchost_lib/cc-fileverify.php?view=log > > and replace it in ./cchost_lib > > There should a bug fix release at some point but for now this should > quiet the error. > > VS > > On Tue, Nov 24, 2009 at 4:47 PM, Ben Weiner <be...@re...> > wrote: > > Hi > > > > On 24 Nov 2009, at 15:32, Geoff wrote: > > > >> I keep getting the error > >> > >> ""/var/www/cchost/cchost_lib/cc-fileverify.php"(223): Uninitialized > string offset: 0 [2009-11-24 10:30 > am][xx.xxx.xxx.xxx][/cchost/?ccm=/submit/samples] " > > > > > > It does sound like a bug. Check the cc-tools bug tracker for starters. > > > > If that is no good, there is info about logging errors on the cchost > wiki. What I would do is dig out the offending code and have a prod. > > > > I doubt that apache, mysql or php are causing you trouble. My > Ubuntu-installed cchost behaved well, but that was 9.04 ;-) > > > > Good luck! > > > > Ben Weiner | http://readingtype.org.uk/about/contact.html > > > > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Cctools-cchost mailing list > > Cct...@li... > > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Cctools-cchost mailing list > Cct...@li... > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > -- __________________ Violence breeds violence we need a world court not a republican with his hands covered in oil and military hardware lecturing us on world security! |
|
From: Victor S. <vic...@gm...> - 2009-11-24 16:21:37
|
Howdy, Actually I think there is something new in php that triggering the behavior - this has been popping up few times in the last month or so. There's a new cc-fileverify.php checked in 2 weeks ago that should fix it. Download from here: http://code.creativecommons.org/viewsvn/cchost/trunk/cchost_lib/cc-fileverify.php?view=log and replace it in ./cchost_lib There should a bug fix release at some point but for now this should quiet the error. VS On Tue, Nov 24, 2009 at 4:47 PM, Ben Weiner <be...@re...> wrote: > Hi > > On 24 Nov 2009, at 15:32, Geoff wrote: > >> I keep getting the error >> >> ""/var/www/cchost/cchost_lib/cc-fileverify.php"(223): Uninitialized string offset: 0 [2009-11-24 10:30 am][xx.xxx.xxx.xxx][/cchost/?ccm=/submit/samples] " > > > It does sound like a bug. Check the cc-tools bug tracker for starters. > > If that is no good, there is info about logging errors on the cchost wiki. What I would do is dig out the offending code and have a prod. > > I doubt that apache, mysql or php are causing you trouble. My Ubuntu-installed cchost behaved well, but that was 9.04 ;-) > > Good luck! > > Ben Weiner | http://readingtype.org.uk/about/contact.html > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Cctools-cchost mailing list > Cct...@li... > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > |
|
From: Ben W. <be...@re...> - 2009-11-24 16:12:21
|
Hi On 24 Nov 2009, at 15:32, Geoff wrote: > I keep getting the error > > ""/var/www/cchost/cchost_lib/cc-fileverify.php"(223): Uninitialized string offset: 0 [2009-11-24 10:30 am][xx.xxx.xxx.xxx][/cchost/?ccm=/submit/samples] " It does sound like a bug. Check the cc-tools bug tracker for starters. If that is no good, there is info about logging errors on the cchost wiki. What I would do is dig out the offending code and have a prod. I doubt that apache, mysql or php are causing you trouble. My Ubuntu-installed cchost behaved well, but that was 9.04 ;-) Good luck! Ben Weiner | http://readingtype.org.uk/about/contact.html |
|
From: Geoff <geo...@gm...> - 2009-11-24 15:32:15
|
I keep getting the error ""/var/www/cchost/cchost_lib/cc-fileverify.php"(223): Uninitialized string offset: 0 [2009-11-24 10:30 am][xx.xxx.xxx.xxx][/cchost/?ccm=/submit/samples] " I cant seem to find any help with google search and have been unable to get it going. This happens when try to upload anyhthing. I have set all settings during install correctly in reguards to php.ini and the cchost dir permissions are set up properly (i believe) can anyone help -- __________________ Violence breeds violence we need a world court not a republican with his hands covered in oil and military hardware lecturing us on world security! |
|
From: Mike L. <ml...@cr...> - 2009-10-30 00:37:27
|
If ATM decides it wants to move to AGPLv3 as part of its business strategy (which I could imagine, but I have no idea), I'd support that from CC perspective. Feel free to ask them. :-) Mike On Thu, Oct 29, 2009 at 1:40 AM, Dave Crossland <da...@la...> wrote: > > Hi > > I am sad that this means ccHost will not upgrade to Affero GPLv3 until the next total rewrite. > > Regards, Dave > > On 29 Oct 2009, 3:23 AM, "Mike Linksvayer" <ml...@cr...> wrote: > > On Wed, Oct 28, 2009 at 4:31 PM, Victor Stone <vic...@gm...> wrote: > CC announced today t... > > For lots of good reasons unrelated to this list. See the forum on > ccmixter.org ... where I'm about to add something. > > > Creative Commons will retain ownership of ccHost > > Just to be clear, this just means CC isn't assigning whatever > copyright interest it has in the ccHost code to ATM. Which impacts > nobody -- all use has always been under the GPL, and will continue to > be. It is healthy for a GPL codebase to have multiple copyright > contributors -- many would say it is unhealthy for there to be a > single owner. > > > and ATM has agreed to > maintain that code which means: fix bugs that its users encounter and > c... > > Thanks Victor! > > Mike > > ------------------------------------------------------------------------------ Come build with us! ... > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Cctools-cchost mailing list > Cct...@li... > https://lists.sourceforge.net/lists/listinfo/cctools-cchost > -- http://support.creativecommons.org help us build http://creativecommons.org/asharedculture |
|
From: Dave C. <da...@la...> - 2009-10-29 08:41:09
|
Hi I am sad that this means ccHost will not upgrade to Affero GPLv3 until the next total rewrite. Regards, Dave On 29 Oct 2009, 3:23 AM, "Mike Linksvayer" <ml...@cr...> wrote: On Wed, Oct 28, 2009 at 4:31 PM, Victor Stone <vic...@gm...> wrote: > CC announced today t... For lots of good reasons unrelated to this list. See the forum on ccmixter.org ... where I'm about to add something. > Creative Commons will retain ownership of ccHost Just to be clear, this just means CC isn't assigning whatever copyright interest it has in the ccHost code to ATM. Which impacts nobody -- all use has always been under the GPL, and will continue to be. It is healthy for a GPL codebase to have multiple copyright contributors -- many would say it is unhealthy for there to be a single owner. > and ATM has agreed to > maintain that code which means: fix bugs that its users encounter and > c... Thanks Victor! Mike ------------------------------------------------------------------------------ Come build with us! ... |
|
From: Mike L. <ml...@cr...> - 2009-10-29 03:23:09
|
On Wed, Oct 28, 2009 at 4:31 PM, Victor Stone <vic...@gm...> wrote: > CC announced today that they are transferring the operation of > ccMIxter (and ccHost) to ArtisTech Media. For lots of good reasons unrelated to this list. See the forum on ccmixter.org ... where I'm about to add something. > Creative Commons will retain ownership of ccHost Just to be clear, this just means CC isn't assigning whatever copyright interest it has in the ccHost code to ATM. Which impacts nobody -- all use has always been under the GPL, and will continue to be. It is healthy for a GPL codebase to have multiple copyright contributors -- many would say it is unhealthy for there to be a single owner. > and ATM has agreed to > maintain that code which means: fix bugs that its users encounter and > continue the current release schedule of roughly once a year. > > All code has a purpose. For ccHost, that is to be a general purpose, > all-media, content management system focused on non-profit uses that > promotes the spread of CC licenses. > > Meanwhile, ccMixter is now, officially, a music-only site that is > being taken over by a decidedly for-profit company. Therefore, ATM is > going to fork ccHost so that the operations of the site are not > encumbered by the historical goals of ccHost. This ccMixter fork will > continue to be completely open source under GPL 2.0 and all changes in > the fork that make sense for the main code tree will be ported back. > > ATM has offered to keep me on as Director of ccMixter and I've got to > figure out exactly what the means. If I do end up at ATM full time, > that means I'll paying a whole lot more attention to ATM's needs and > only sporadically helping out with ccHost stuff. > > Peace, > VS Thanks Victor! Mike |
|
From: Victor S. <vic...@gm...> - 2009-10-28 23:31:59
|
CC announced today that they are transferring the operation of ccMIxter (and ccHost) to ArtisTech Media. Creative Commons will retain ownership of ccHost and ATM has agreed to maintain that code which means: fix bugs that its users encounter and continue the current release schedule of roughly once a year. All code has a purpose. For ccHost, that is to be a general purpose, all-media, content management system focused on non-profit uses that promotes the spread of CC licenses. Meanwhile, ccMixter is now, officially, a music-only site that is being taken over by a decidedly for-profit company. Therefore, ATM is going to fork ccHost so that the operations of the site are not encumbered by the historical goals of ccHost. This ccMixter fork will continue to be completely open source under GPL 2.0 and all changes in the fork that make sense for the main code tree will be ported back. ATM has offered to keep me on as Director of ccMixter and I've got to figure out exactly what the means. If I do end up at ATM full time, that means I'll paying a whole lot more attention to ATM's needs and only sporadically helping out with ccHost stuff. Peace, VS |
|
From: James e. <no...@ne...> - 2009-10-11 01:52:47
|
Hey, I have created a Netlog profile with my pictures, videos, blogs and events and I want to add you as a friend so you can see it. You first need to register on Netlog! When you log in, you can create your own profile. Take a look: http://en.netlog.com/go/mailurl/type=invite_1&mailid=536024248&id=1&url=-L2dvL3JlZ2lzdGVyL2lkPTE0OTExNDk0OTkmaT10OTE_ Cheers, James ---------------------------------------------------------------- Don't want to receive invitations from your friends anymore? http://en.netlog.com/go/mailurl/type=invite_1&mailid=536024248&id=2&url=-L2dvL25vbWFpbHMvaW52aXRlL2VtYWlsPS1ZMk4wYjI5c2N5MWpZMmh2YzNSQWJHbHpkSE11YzI5MWNtTmxabTl5WjJVdWJtVjAmY29kZT0wNzEzNzM2NiZpZD0xNDkxMTQ5NDk5Jmk9dDky |
|
From: Admin <inv...@ce...> - 2009-08-25 20:42:01
|
Central Florida Solar Alliance: Promoting solar energy in Florida. -------------------- If you are interested in learning more about solar energy, join this site. The 2009 ASES Solar Energy Tour is coming to: Orlando - Oct. 1st, Ocala - Oct. 2nd Gainesville - October 3rd Click the link below to Join: http://centralfloridasolaralliance.ning.com/?xgi=1xdfTUv If your email program doesn't recognize the web address above as an active link, please copy and paste it into your web browser -------------------- Members already on Central Florida Solar Alliance Alejandro Palomino, Ted Kaplan, Scott Knapp, Reneen Gornowich, Admin -------------------- About Central Florida Solar Alliance The Central Florida Solar Alliance is a group of solar energy enthusiasts who work together to promote solar energy in Florida. 9 members 68 photos 9 videos -------------------- To control which emails you receive on the corner, or to opt-out, go to: http://centralfloridasolaralliance.ning.com/?xgo=hcB7TpbS8kBaY0Lht4ntx670eZfWQ2bfnaQPdmosPddLJcKssKKddlVvGQQcL-Q7XmdYctMUHL421rIQAGvbcg |
|
From: Ben W. <be...@re...> - 2009-08-21 08:19:50
|
HI, I wrote: > I'm still on 5.0.1 and all the formats I need to remove are > pseudo-verified, with the exception of GIF, JPEG, PNG... First > impressions suggest that the pseudoverifier is global and I will see all > pseudoverified formats in all virtual roots :- OK I have re-read VS' 2009-08-07 email on this thread and the second section which mentions pseudocode seems relevant to the pseudo-verifier problem. I will try it out and report back... Ben -- Ben Weiner | http://readingtype.org.uk/about/contact.html |
|
From: Ben W. <be...@re...> - 2009-08-11 22:47:25
|
Hi,
Victor Stone wrote:
> - For the main ('media') virtual root, in admin/formats uncheck
> everything but ZIP
> - Create a new virtual root in admin/cfgroot called 'submitall'
> - In that virtual root, submitall/admin/formats check the formats you
> want to allow
>
> Now add the following two rules in .htaccess
>
> RewriteRule ^(media/)?file/add/([0-9]+)$ submitall/file/add/$2 [L,R]
> RewriteRule ^submitall/file/manage/([0-9]+)$ media/file/manage/$1 [L,R]
This is a big step forward, for sure.
Right now I'm having a nightmare with my rewrite rules, creating nasty
loops which I cannot fathom. I moved these from a cchost-generated
.htaccess file into an Apache virtual host, so I'm not working in quite
the same setup that you describe.
But that's my problem. What I wonder is whether the virtual roots can
have different pseudo-verifier options?
I'm still on 5.0.1 and all the formats I need to remove are
pseudo-verified, with the exception of GIF, JPEG, PNG... First
impressions suggest that the pseudoverifier is global and I will see all
pseudoverified formats in all virtual roots :-(
Cheers,
Ben
--
Ben Weiner | http://readingtype.org.uk/about/contact.html
|
|
From: Victor S. <fou...@gm...> - 2009-08-09 23:29:09
|
I've posted and tagged 5.1 https://sourceforge.net/projects/cctools/files/ccHost/ Unfortunately, Sourceforge has COMPLETELY changed the way do file uploads/releases so I'm not even convinced it's up there and working. The release RSS feed is not updated and there used to be a way to ping people on our release mailing list but I can't figure out how to do that. Wahoo upgrades! VS |
|
From: Ben W. <be...@re...> - 2009-08-07 23:23:52
|
Hi Victor, Victor Stone wrote: > aye - sorry about not responding faster, I've written 3 different > versions of a workaround trying to think of the easiest way (you're > hacking the display won't work because the verifier ignores the > display and files of any type would be accepted). > > I finally got it (it works! - no PHP coding!) > :-) This sounds great. I will give it a spin and let you know how it goes. > a design flaw that doesn't allow for submit forms > to have different files types associated with them I don't think it's a design flaw - that would be a harsh judgement. But it'll be a useful enhancement if it does go in to a future ccHost version. Thanks, Ben -- Ben Weiner | http://readingtype.org.uk/about/contact.html |
|
From: Victor S. <fou...@gm...> - 2009-08-07 19:54:01
|
aye - sorry about not responding faster, I've written 3 different
versions of a workaround trying to think of the easiest way (you're
hacking the display won't work because the verifier ignores the
display and files of any type would be accepted).
I finally got it (it works! - no PHP coding!)
- For the main ('media') virtual root, in admin/formats uncheck
everything but ZIP
- Create a new virtual root in admin/cfgroot called 'submitall'
- In that virtual root, submitall/admin/formats check the formats you
want to allow
Now add the following two rules in .htaccess
RewriteRule ^(media/)?file/add/([0-9]+)$ submitall/file/add/$2 [L,R]
RewriteRule ^submitall/file/manage/([0-9]+)$ media/file/manage/$1 [L,R]
Presto!
What's happening: When a user goes to submit a file in the main vroot,
they will only see ZIP and that will be what the verifier sees. When
they go to 'add/files' the browser will re-direct them to the virtual
root that allows more file types. The add/files form always redirects
back to 'file/manage' so we force redirect back to the main 'media'
vroot.
VS
On Mon, Aug 3, 2009 at 7:25 AM, Ben Weiner<be...@re...> wrote:
> I want to have
> - new record form allow *only* ZIP uploads
> - add/replace file form allow some other formats.
>
> Is there somewhere I can manipulate the list of allowed formats to
> achieve this? They will all be either formats known to getId() and
> available in the list of formats here <cchost-root-url>/admin/formats or
> they will be pseudo-verified ones. Nothing completely unknown to the
> ccHost installation in question.
>
> I have done some looking around in the codebase. I guess that, as this
> is way off the design spec for ccHost, I will have to hack something in
> at page-generation time.
That will not work because the verification happens long after the
form is destroyed (i.e. on the _POST, not the _GET request)
You'll need to hook the validator and do a context sensitive switch on the fly
// pseudo code....
class MyValidator
{
function FileValidate(&$formatinfo)
{
$current_url = cc_current_url();
if( $current_url == 'what_im_expecting' )
{
$path = $formatinfo->GetFilePath();
$id3 =& CCGetID3::InitID3Obj();
$tags = $id3->analyze($path);
if( empty($tags['zip']) )
{
$formatinfo->SetErrors('must be a zip file for the
submit form type');
}
}
}
function GetValidFileTypes(&$types)
{
// similar conditional stuff as above....
}
}
function make_my_validator()
{
return new MyValidator();
}
global $CC_UPLOAD_VALIDATOR;
$CC_UPLOAD_VALIDATOR = 'make_my_validator';
Of course this is missing dozens of lines of code required for error
checking etc. but I think you get the idea. You can find all that in
ccextras/cc-pseudo-verify.inc in the FileValidate section that handles
the CC_PV_VERIFY case.
Believe it or not, this is the least cumbersome way I can think of. In
the end it's simply a design flaw that doesn't allow for submit forms
to have different files types associated with them - there was the
same issue with licenses and I got around to fixing that in 5.1 but
didn't get to file types.
VS
|