Menu

#6 Smarter Questions needed for default company

open
5
2004-08-11
2004-08-11
JT Moree
No

The default company creation asks for information such
as phone number but forces it to be a US phone number.
It should be more lenient. perhaps it should only
check for numbers and - or ..

Perhaps State should be State/Province.

when installing an application. Is this app free? 1
or 0 is meaningless. yes or no should be used or 1=yes
or something

Something funny happened here:

appinstall.pl execution complete...

Accounting Database = 't_xiwa_db' doesn't exist!
Creating...
Error Occurred!
Portal::Methods->dbImport() - Error!<br>
Error Importing database! Error = '
CREATE SEQUENCE
CREATE SEQUENCE
CREATE SEQUENCE
. . .

This may be specific to xiwa but notice that it went
ahead and created and imported data into the database
but reports an error. It causes the dpkg system to
error and you have to run it again to fix it.

Discussion

  • JT Moree

    JT Moree - 2004-08-11

    Logged In: YES
    user_id=236631

    And I did not have apache-ssl installed but it let me choose
    https for the server type. It should check and warn the
    user. now i have to jump through hoops to get it to finish
    setting up.

     
  • James A. Pattie

    James A. Pattie - 2004-09-01

    Logged In: YES
    user_id=27290

    I'm planning to put a compatibility layer back in to allow
    you to enter 1/0/y/n and have it converted to 1/0 for the
    setup.pl questions.

    I will do away with the script to create the initial
    user/company as the CompanyAdmin app is now able to create
    users and will eventually be able to edit the Company info
    also. Eventually, I'll probably just have the "new" portal
    database come with default admin and test companies created
    that you can then edit/delete, etc. via the
    CompanyAdmin/SystemAdmin apps.

    The only way to make the https/http issue be less of an
    issue is to make seperate debian packages for each of the
    different database and apache combinations.

    ex:
    pcxportal-apache-pg_0.4.00
    pcxportal-apache-ssl-pg_0.4.00
    pcxportal-apache2-pg_0.4.00
    pcxportal-apache2-ssl-pg_0.4.00
    pcxportal-apache-mysql_0.4.00
    pcxportal-apache-ssl-mysql_0.4.00
    pcxportal-apache2-mysql_0.4.00
    pcxportal-apache2-ssl-mysql_0.4.00

    this would make the defaults for the specific package be
    "correct", but won't stop you from specifying MySQL or https
    when using PostgreSQL or http, etc. when you re-configure
    the Portal by running setup.pl.

    I'm not sure it is worth the hassle to build each of the 8
    different packages. Let me know if this is something you
    are interested in seeing, as it would fix the dependancy
    issues to a certain degree.

     

Log in to post a comment.

Auth0 Logo