Page 1 of 1

Upgrade to 1.2.8

Posted: Sat 30. Sep 2006, 16:38
by wcmetro
I had a good install of 1.1.4-RC via Fantastico up and running and then as described in other threads, my ISP upgraded MySQL last week and I cannot log in.

I decided rather than try to fix the login problem, I would upgrade to the current version.

However, upon install, I get the following message at the upgrade.php page:


Warning: main(/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/wrmetro/public_html/setup/upgrade.php on line 25

Fatal error: main() [function.require]: Failed opening required '/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wrmetro/public_html/setup/upgrade.php on line 25
I had some similar type issues on the original install, and I have searched the forums here to try to find the solution to this one. The solutions posted so far on this type problem have been tried but not fixed it.

What info can I post to help trouble shoot this? I am really a PhP moron, but I am pretty good at following suggested fixes.

Posted: Sat 30. Sep 2006, 18:00
by Oliver Georgi
Upload all files. And check path settings.

Oliver

Posted: Sat 7. Oct 2006, 02:50
by wcmetro
Well I changed some permissions and double checked my paths and the page is running in 1.2.8, although my once pretty navigation bar is ugly and some of the pages have lost formatting.

The big problem is still there though. When I go to login.php, I get "Errors during login" and cannot get on the site to make any changes. Any ideas?

Posted: Sat 7. Oct 2006, 08:14
by Oliver Georgi
reset password in your db and maybe try username/password without special chars.

Oliver

Posted: Sat 7. Oct 2006, 16:11
by wrmetro
Unfortunately I tried that already. I used PhpMyAdmin to view the password. For some reason, it had changed from the last time I used it. I reset it and still no luck.

Posted: Sat 7. Oct 2006, 16:26
by flip-flop
Hi wrmetro,

have a look: http://faq.phpwcms-docu.de/3_16_en.html

Knut

Posted: Tue 10. Oct 2006, 00:40
by wrmetro
flip-flop wrote:Hi wrmetro,

have a look: http://faq.phpwcms-docu.de/3_16_en.html

Knut
Well that didn't solve it but it did lead me to another page which solved to problem. Just a bad PhPMyAdmin setting. Fixed it right up.

Now, the upgrade problems:

Here is my Navbar prior to upgrade:
Image

Here is my Navbar post upgrade:
Image

A lot of formatting has been lost and I have no idea what settings those were or where to find them.

Likewise, I lost a ton of HTML formatting on the pages. Instead of separate lines with paragraph spacing, all pages run together like this:

Image

Ideas??

Posted: Tue 10. Oct 2006, 00:52
by cyrano
Hi wrmetro,

hope you have backuped your "old" frontend.css file.

after update and overwrite all files you need to compare the old with the new frontend.css file.

For the navigation you need to compare old with new "default.template.inc.php" in config folder.

So the "old" values are gone while updating.
copy your formatted css code into new frontend.css and compare the settings for {NAV_TABLE_COLUMN}

Posted: Tue 10. Oct 2006, 02:17
by wcmetro
Thanks, I did back it up, so I will check both those files. Appreciate the tip.

Posted: Tue 10. Oct 2006, 02:39
by cyrano
to compare you can use WinMerge --> at sourceforge.