PDA

View Full Version : v1 full install issues


bear
03-22-2003, 06:53 AM
Okay. Grabbed the 1.0 full and attempted install. Install failed, so I tried reuploading the tar and reinstalling. Got an error that no previous version was installed. Drop the tables, edit the config file to remove the line referring to previous version, then install as if a new install (overwrite config with same info). Install completes (but doesn't warn me to remove install.php).
Attempt to log in, and get this:
Warning: main(language//glossary.php) [function.main]: failed to create stream: No such file or directory in /home/xxxx/public_html/xxxx/common/varDefinitions.php on line 187

Warning: main() [function.main]: Failed opening 'language//glossary.php' for inclusion (include_path='/home/xxxx/public_html/xxxx') in /home/xxxx/public_html/xxxx/common/varDefinitions.php on line 187
ERROR: FindTemplate: file login_header.tpl does not exist anywhere in templates/ "

Note the double slash in the path of these errors? I'm guessing it's related, since the files exist where they are looking, except for the extra slash...and that it's looking in 'templates', not '/templates/Raleigh', where the files actually exist.

Any ideas? Can't edit the files...they're encrypted. Could this be something in my install or has someone else seen this?

<edit>Seems it's not adding in the folder for the language, which should appear before 'glossary.php'
I'm going to try installing again from scratch.</edit>

<edit>Reinstalled from scratch. Same result.</edit>
Alberto? Any ideas here?

Alberto
03-22-2003, 08:06 AM
Originally posted by bear@Mar 22 2003, 07:53 AM
Okay. Grabbed the 1.0 full and attempted install. Install failed, so I tried reuploading the tar and reinstalling. Got an error that no previous version was installed. Drop the tables, edit the config file to remove the line referring to previous version, then install as if a new install (overwrite config with same info). Install completes (but doesn't warn me to remove install.php).
Attempt to log in, and get this:
Warning: main(language//glossary.php) [function.main]: failed to create stream: No such file or directory in /home/xxxx/public_html/xxxx/common/varDefinitions.php on line 187

Warning: main() [function.main]: Failed opening 'language//glossary.php' for inclusion (include_path='/home/xxxx/public_html/xxxx') in /home/xxxx/public_html/xxxx/common/varDefinitions.php on line 187
ERROR: FindTemplate: file login_header.tpl does not exist anywhere in templates/ "

Note the double slash in the path of these errors? I'm guessing it's related, since the files exist where they are looking, except for the extra slash...and that it's looking in 'templates', not '/templates/Raleigh', where the files actually exist.

Any ideas? Can't edit the files...they're encrypted. Could this be something in my install or has someone else seen this?

<edit>Seems it's not adding in the folder for the language, which should appear before 'glossary.php'
I'm going to try installing again from scratch.</edit>

<edit>Reinstalled from scratch. Same result.</edit>
Alberto? Any ideas here?
Very interesting. You did a fresh install? or upgrade?

bear
03-22-2003, 08:07 AM
Okay, here's the deal. The new sql files do not populate the database, they only create the tables. I used the old sql from a .9 release and then ran install. It upgraded and I got in. Shouldn't the sql have INSERTs for new users? Oversight, I guess.

Here's another thought (may have been fixed already?): If you make changing your access name and password the first step, then hit save changes, it sends you to 'domain.com'. Yes, this domain exists. Maybe have this as "yourdomain.tld"?? Or you could send them to my domain...I could use the traffic. :D

<edit> Oh, and one other thing? Is there a place to change demo to 1 within the CE interface? Upgrade changes the config back to 0. I don't mind changing it back via shell, but that seems a bit clunky for less experienced users? Might save you a few tech support calls...

Alberto
03-22-2003, 08:15 AM
I don't understand. You tried upgrading from version .9x to this version?

bear
03-22-2003, 08:24 AM
Yes, I tried running the upgrade from RC2 to v1 full. The install had a problem and quit. I tried running it again, but it said there was no previous version (because the first one wrote to the config that it was v1). That left me stuck.

I uninstalled all the files, including config (not license), and then dropped the tables, since it wouldn't work as a full install if the tables already existed. Using all the files from the v1 release, I ran the install. This *should* have populated the tables, but didn't. My CE would not run, giving the errors I posted earlier.

To troubleshoot, I looked over the sql dump included with v1, and saw that there were no INSERTs to populate the tables created during install, so it had nothing to add into the paths (Raleigh|language) as defaults. So it errored out.

I took the sql file from RC2 and dumped the values into my database, and I could log in after running the install.php as an upgrade to v1.

That help at all?

Alberto
03-22-2003, 08:30 AM
Originally posted by bear@Mar 22 2003, 09:24 AM
Yes, I tried running the upgrade from RC2 to v1 full. The install had a problem and quit. I tried running it again, but it said there was no previous version (because the first one wrote to the config that it was v1). That left me stuck.

I uninstalled all the files, including config (not license), and then dropped the tables, since it wouldn't work as a full install if the tables already existed. Using all the files from the v1 release, I ran the install. This *should* have populated the tables, but didn't. My CE would not run, giving the errors I posted earlier.

To troubleshoot, I looked over the sql dump included with v1, and saw that there were no INSERTs to populate the tables created during install, so it had nothing to add into the paths (Raleigh|language) as defaults. So it errored out.

I took the sql file from RC2 and dumped the values into my database, and I could log in after running the install.php as an upgrade to v1.

That help at all?
Did you back up your DB from RC2? If so we can update your install. I don't know what issue you had honestly.

Submit a ticket to support@clientexec.com

Alberto
03-22-2003, 08:32 AM
Originally posted by bear@Mar 22 2003, 09:07 AM
Shouldn't the sql have INSERTs for new users? Oversight, I guess.
This only affects initial installs not upgrades. And we didn't have any new installs since we upgraded this oversight. So it shouldn't have affected anyone.

The problem also stems from you using a backup from .9x for this upgrade since it is only for RC2

bear
03-22-2003, 08:37 AM
No, that's okay Alberto, thanks. It's not so much that the upgrade failed (these things happen), but that starting over didn't work.
I can dump my old info in now that I've run the install. I think it's still an issue though that the sql that came with the v1 files doesn't have INSERTs.

I managed to puzzle out how to get around this, but what about the next guy..?

I mean, I ran a full install from scratch, using just the files from v1, and it failed. Used the old dump and it worked, allowing me to 'upgrade' to v1.
Do you need to see the sql file I'm talking about here? It creates the tables but that's it.

bear
03-22-2003, 08:41 AM
Originally posted by bear@Mar 22 2003, 09:07 AM
Shouldn't the sql have INSERTs for new users? Oversight, I guess.
This only affects initial installs not upgrades. &nbsp;And we didn't have any new installs since we upgraded this oversight. &nbsp;So it shouldn't have affected anyone.What do you mean here? I just downloaded this release this morning, and the upgrade didn't work. The sql file has no info for inserting into the tables, so the full install failed as well.

The problem also stems from you using a backup from .9x for this upgrade since it is only for RC2It *was* RC2 I was upgrading from when it failed. The dump that worked came from that release.

Alberto
03-22-2003, 09:14 AM
Did you download after I posted that it had been resolved?

bear
03-22-2003, 09:18 AM
Umm, no. When did you post that and where?

Alberto
03-22-2003, 09:20 AM
Originally posted by bear@Mar 22 2003, 10:18 AM
Umm, no. When did you post that and where?
Actually I didn't state. I just said "This only affects initial installs not upgrades." Then we upgraded the file for initial installs. Up to that moment I was under the impression you were not doing a fresh install.

bear
03-22-2003, 09:33 AM
Okay..a misunderstanding, sorry about that. I thought I'd mentioned this (maybe not directly enough) in nearly all the above posts.

Here's an observation:
If the upgrade fails for any reason, the config file still apparently has the version info written to it. This means trying to rerun the upgrade from that point would fail, since it sees itself as the latest version. This is where my problem began. Since I had an bad sql dump (which you've fixed, thank you) from v1, I couldn't make it work.
I'd recommend making a backup copy of the config file before upgrading, just so going back in case of trouble is easier.

I've grabbed the updated release. Thanks.
All better now. Sorry to have caused any confusion.

Alberto
03-22-2003, 10:10 AM
Originally posted by bear@Mar 22 2003, 10:33 AM
Okay..a misunderstanding, sorry about that. I thought I'd mentioned this (maybe not directly enough) in nearly all the above posts.

Here's an observation:
If the upgrade fails for any reason, the config file still apparently has the version info written to it. This means trying to rerun the upgrade from that point would fail, since it sees itself as the latest version. This is where my problem began. Since I had an bad sql dump (which you've fixed, thank you) from v1, I couldn't make it work.
I'd recommend making a backup copy of the config file before upgrading, just so going back in case of trouble is easier.

I've grabbed the updated release. Thanks.
All better now. Sorry to have caused any confusion.
Thank you for catching the bad dump for fresh installs.

webwizard
03-23-2003, 12:19 AM
I'm getting this too on a fresh install:

Warning: Failed opening 'language//glossary.php' for inclusion (include_path='/home/virtual/site87/fst/var/www/html/clientexec') in /home/virtual/site87/fst/var/www/html/clientexec/common/varDefinitions.php on line 187
ERROR: FindTemplate: file login_header.tpl does not exist anywhere in templates/

Edit... I just downloaded 1.0 again and re-uploaded to my server and I'm in!!!