Menu

#13 Software Error:

open
nobody
None
9
2004-11-07
2004-11-07
JnK Davis
No

What we've done so far: 

1.)We uploaded all the files to our server, putting one shopcms
folder in our /cgi-bin/ directory, and the other 'shopcms' folder (the
one that comes in the 'htdocs' folder) in our /httpdocs/ directory.  

2.)We configured the config.txt file the using the path variables
specified by our web host. We've been over it and over it looking
for errors. 

3.)We CHMOD public, admin, and install to 755 

4.)We we're successful in installing all the tables on the database 

Here's where we're at now: 

When we first tried to access our admin page at http://
www.mypersonalwalk.com/cgi-bin/shopcms/admin.cgi, we were
met with the following message: 

Software error: 
could not open form at /usr/local/psa/home/vhosts/
mypersonalwalk.com/shopcms/forms/admin_login.html at
Freedom/Forms.pm line 59. 

So we said, ok lets just try to access our admin page by directly
accessing our 'admin_login' using http://
www.mypersonalwalk.com/shopcms/forms/admin_login.html. That
loaded up the login page (username is user, password is pass) and
we we're able to access our admin page. 

Once in our admin page we were able to add categories and brands
but not catalog items. Every time we clicked on the "add new
entry" under catalog, we got the following message again: 

Software error: 
could not open form at /usr/local/psa/home/vhosts/
mypersonalwalk.com/shopcms/forms/htmlarea.html at Freedom/
Forms.pm line 59. 

For what it's worth, Freedom/Forms.pm line 59 looks like this
(although we only have a vague idea of what it all means): 

50 sub show { 
51 my $self = shift; 
52 my $config = Freedom::Config->new($self->{'config_file'}); 
53 my $form = $_[0]; 
54 my $q = $_[1]; 
55 my %config = $config->read; 
56 my $forms_directory = $config{'forms_directory'}; 
57 my $return; 
58 #my $item = $q->param('id'); 
59 open (FILE, "$forms_directory/$form.html") || die("could not
open form at $forms_directory/$form.html");

Discussion

  • JnK Davis

    JnK Davis - 2004-11-07
    • priority: 5 --> 9
     
  • JnK Davis

    JnK Davis - 2004-11-07

    Logged In: YES
    user_id=1154153

    Well, nevermind folks! Thanks anyway. We figured it out. For those of
    you in the future having this problem, it is very important to add the
    directory /httpdocs/ (or whatever the directory name is that contains
    your index) to the file path of the 'forms_directory' in the configuration.
    For example, ours now looks like this:

    /usr/local/psa/home/vhosts/yourdomain.com/httpdocs/shopcms/forms/

    Thanks,
    JnK

     

Log in to post a comment.