11
ghia
Re: MySql error
  • 2010/5/22 14:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
(which I have posted in a separate thread)

Don't! Keep your problem together. The threads are merged.
Quote:
ok, i took /public_html out of mainfile.php and I'm still getting these errors
I have more the impression that it was missing!
Quote:
Does anyone know why I'm getting these errors?
If you have the right version of the test with the right version of the XOOPS files, then there should be no errors.
Except for some files which you have modified for some reason on purpose (eg style.css).
Sometimes FTP can not upload and overwriting existing files.
You can then retry the operation by first deleting the files.
In the end all files should match.
Except the intentionnaly modified ones. For these do a file compare and make the modifications to the new version of them.
Quote:
I'm thinking that it would be a lot easier to get my old site running if I did a clean install with all the updated modules and then inserted the mysql tables from the old database
This is only in the case when there are no database changes between the old and new versions. I wouldn't do that.
Recommandation is to test your old modules with the new XOOPS on a local server eg XAMPP. And then testing also the upgrades for the various modules.
Or starting with a backup of your site doing the upgrade localy.
If you know which problems to expect, you can do it on the server.

12
chefry
Re: MySql error
  • 2010/5/23 7:06

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


So, if I can get it running, and then do an upgrade, do I have to do the upgrade in baby steps (all the upgrades one at a time), or just one upgrade up to 2.4.4?

And when I do get it running in it's original version, I'm getting rid of a bunch of the modules I had.

13
ghia
Re: MySql error
  • 2010/5/23 11:46

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


No, the upgrade procedure can be done from 2.0.16 direct to 2.4.4 (see release notes). But as this is a major upgrade, a dry run on your local PC on a restored full backup of your server is adviced.

14
chefry
Re: MySql error
  • 2010/5/23 14:21

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I just set up the site on my WAMP localhost. it's giving me the same errors. saying no such file or directory for the same files :(


Using WAMP, if i set the xoops files and directories in the www root i get the error

Quote:

Content Encoding Error


The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.


* Please contact the website owners to inform them of this problem.


but if I put everything in a subdir, htdocs or public_html, I get the can't find file errors

15
ghia
Re: MySql error
  • 2010/5/23 19:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe try XAMPP 1.7 with PHP 5.2.8 (not the latest XAMPP with 5.3, because that will giive other problems).

16
chefry
Re: MySql error
  • 2010/5/24 21:11

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


ok, I tried it

I'm getting the same errors :(

17
ghia
Re: MySql error
  • 2010/5/24 22:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Do you use gzip compression in the general preferences?
Try to set it off (with phpMyAdmin in table xoops_config option 14? gzip_compression = 0).

18
chefry
Re: MySql error
  • 2010/5/25 5:27

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


in xoops_config gzip compression I've got
conf_id 9
conf_modid 0
conf_catid 1
conf_value 1
conf_order 16

which one do I change to zero (0)?

19
ghia
Re: MySql error
  • 2010/5/25 6:13

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


conf_value

20
chefry
Re: MySql error
  • 2010/5/25 9:30

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


ok, did that and no change

I still get the errors

Quote:

Warning: include(G:/wamp/www/include/common.php) [function.include]: failed to open stream: No such file or directory in G:\wamp\www\htdocs\mainfile.php on line 104

Warning: include() [function.include]: Failed opening 'G:/wamp/www/include/common.php' for inclusion (include_path='.;C:\php5\pear') in G:\wamp\www\htdocs\mainfile.php on line 104

Warning: include_once(G:/wamp/www/class/xoopsblock.php) [function.include-once]: failed to open stream: No such file or directory in G:\wamp\www\htdocs\header.php on line 29

Warning: include_once() [function.include]: Failed opening 'G:/wamp/www/class/xoopsblock.php' for inclusion (include_path='.;C:\php5\pear') in G:\wamp\www\htdocs\header.php on line 29

Fatal error: Call to a member function stopTime() on a non-object in G:\wamp\www\htdocs\header.php on line 35

Login

Who's Online

261 user(s) are online (228 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits