[ZendTo] Re: Fresh Install help

Jules Jules at Zend.To
Tue Feb 19 12:36:11 GMT 2013


This is almost always due to time zone issues.
Make the sure timezone on your server is set correctly (check the output 
of the "date" command for starters), and that you have set the timezone 
correctly in the relevant php.ini file.

There's a page on my site about this problem at http://zend.to/timezone.php

Cheers,
Jules.

On 02/02/2013 17:44, Gray McCord wrote:
> Since I have more experience with Redhat distributions, I thought I 
> would go ahead and try a CENTOS install. I have made it a bit further. 
> I can bring up the ZENDTO page and add / list users. I checked the 
> zendto MySQL database and found the users in the user table as they 
> should be.
>
> However, even though Zendto accepts my login credentials and the 
> sendto log verifies I logged in, Zendto acts as if no one is logged in 
> whenever I try to drop off a file, or try to perform an admin 
> function. For example, I set one of the users I created as an admin in 
> preferences.php, and when I logged in to sendto, I see the additional 
> options normal for an admin user. However, if I click on one of those 
> buttons, I get an error that tells me "Access denied. This is 
> available to administrators only" When I click on the home button, I'm 
> no longer logged in at all. Any ideas?
>
> Thanks!
>
> Gray
>
>
>
> Gray McCord
> /Adapt, Mutate, Migrate, or Die/
> -C. Darwin
>
>
> From: Gray McCord <gdm at sangabriel.com <mailto:gdm at sangabriel.com>>
> Reply-To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
> Date: Friday, February 1, 2013 2:31 PM
> To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
> Subject: [ZendTo] Re: Fresh Install help
>
> OK, checked all of those, and what I find is that the database file is 
> not there, but the log file is. All the log file has in it are a 
> series of entries that say "initial setup of database complete"
>
> My workflow was:
>
>   * Install Ubuntu 12.10 x64 in a VM (note this is not the server
>     version, if that matters)
>   * Install SQLite3 using apt-get
>   * Install the packages listed in the "install in existing ubuntu"
>   * I did not mess with changing php at this point (still required for
>     12.10?)
>   * Installed the sendto repository & installed zendto using apt-get
>   * I did not mess with installing ssl at this point
>   * Edited the postfix settings
>   * Rebooted
>   * Opened up localhost/about.php in firefox OK
>   * Opened up localhost/ in firefox OK
>   * Added a user using adduser.php (no errors from the script)
>   * Failed when I tried to log in to zendto
>   * Checked the log file in /var/zendto and saw "authorization failed
>     for username"
>   * Checked /var/zendto and there was no sendto.sqlite database file
>     in there.
>
>
> I am very certain I am just missing something fundamental. I'm not an 
> expert sysadmin by any means but have been doing it enough that I'm 
> reasonably confident I can follow instructions & work around minor 
> issues. I'm guessing there is something missing that is preventing 
> creation of the database file, but I don't know what it is.
>
> Thanks for your patience!
>
> Gray
>
> Gray McCord
> /Adapt, Mutate, Migrate, or Die/
> -C. Darwin
>
>
> From: Jules <Jules at zend.to <mailto:Jules at zend.to>>
> Organization: ZendTo
> Reply-To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
> Date: Tuesday, January 29, 2013 8:51 AM
> To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
> Subject: [ZendTo] Re: Fresh Install help
>
> Check that /var/zendto is owned by the www-data account and is owner 
> and group writeable and there should be a zendto.log and zendto.sqlite 
> files in there.
>
> On 28/01/2013 17:32, Gray McCord wrote:
>> Thanks, Jules. Yes, I'm using SQLite3 and am trying to create users 
>> as root. I can open the Zendto site (localhost/about.php) just fine, 
>> however, the database is never created in /var/zendto. The log file 
>> says "initial setup of database complete", but the database is not 
>> there. It looks like my problem is that the Zendto database is never 
>> created. Every time I refresh the about page I get the same message, 
>> but no actual database I checked the syslog and apache logs, but 
>> nothing of interest was there.  Any ideas?
>>
>> Thanks!
>>
>> Gray
>>
>> Gray McCord
>> /Adapt, Mutate, Migrate, or Die/
>> -C. Darwin
>>
>>
>> From: Jules <Jules at zend.to <mailto:Jules at zend.to>>
>> Organization: ZendTo
>> Reply-To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
>> Date: Monday, January 28, 2013 4:43 AM
>> To: ZendTo Users <zendto at zend.to <mailto:zendto at zend.to>>
>> Subject: [ZendTo] Re: Fresh Install help
>>
>>
>> On 25/01/2013 18:25, Gray McCord wrote:
>>> I have 4.11 running fine on the Ubuntu VM and am in the process of 
>>> attempting an install on a fresh Ubuntu 12.10 system. I'm pretty 
>>> sure that I have followed the instructions to install everything, 
>>> and the Zendto home page successfully loads in my browser.  However, 
>>> I cannot seem to add any users. When I run the adduser.php script, I 
>>> get several "undefined index" errors followed by  a message 
>>> indicating the user has been created.
>> You can get rid of the undefined index notices by adding "& 
>> ~E_NOTICE" to the setting for error_reporting in /etc/php5/cli/php.ini.
>>
>> Try to load the home page of the web site before you try creating 
>> users. And you do then of course need to be root to create users (but 
>> do the home page first, as that should trigger the creation of the 
>> database with the right ownership and permissions).
>>
>> I assume you're using SQLite3 as the database type.
>>
>> Jules.
>>> However, the user has not been created and in fact, it appears that 
>>> the SQLite database file has not been created in /var/zendto. I'm 
>>> sure I'm doing something fundamentally wrong, and apologize in 
>>> advance if this is a stupid question. Can anyone point me in the 
>>> direction of a solution?
>>>
>>> Thanks!
>>>
>>> Gray
>>>
>>> Gray McCord
>>> /Adapt, Mutate, Migrate, or Die/
>>> -C. Darwin
>>>
>>>
>>> -- 
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 
>>> and is
>>> believed to be clean.
>>>
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.tohttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>
>>> Jules
>>>
>>> --
>>> Julian Field MEng MBCS CITP CEng
>>>
>>> 'If I were a Brazilian without land or money or the means to feed
>>>   my children, I would be burning the rain forest too.' - Sting
>>>
>>> www.Zend.To
>>> Twitter: @JulesFM
>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 
>> and is
>> believed to be clean.
>> _______________________________________________ ZendTo mailing list 
>> ZendTo at zend.to <mailto:ZendTo at zend.to> 
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 
>> and is
>> believed to be clean.
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.tohttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>> Jules
>>
>> --
>> Julian Field MEng MBCS CITP CEng
>>
>> 'I have lost friends, some by death ... others through sheer inability
>>   to cross the street.' - Viginia Woolf
>>
>> www.Zend.To
>> Twitter: @JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________ ZendTo mailing list 
> ZendTo at zend.to 
> <mailto:ZendTo at zend.to>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________ ZendTo mailing list 
> ZendTo at zend.to <mailto:ZendTo at zend.to> 
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
>
> 'There is one thing stronger than all the armies in the world;
>   and that is an idea whose time has come.'
>
> www.Zend.To
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20130219/b78499eb/attachment-0001.html 


More information about the ZendTo mailing list