1
hnn_gerd
heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 15:21

  • hnn_gerd

  • Just popping in

  • Posts: 48

  • Since: 2008/5/24


Hello everybody, I'm new to this forums. After quite some searching here in the forums and not finding the right solution for me I'd like to ask you to help me.

I am running the website www.heathernova.net with a forums of 500 members and have urgently to move it to a new provider. I really need to ave this nice community.

I went for a Virtual Private Server at 1und1, a well know webhosting company.

Installed on the old server is:
Xoops 2.0.9, newBB 2.01, news 1.1, TinyD 2.02, xoopsgallery 1.33, Memberlist 1, Polls 1, Weblinks 1.1, piCal 0.62, chess 1.06, sitemap 0.5
with PHP 4.33 and MySQL 3.23

The new server with CentOS5 has:
PHP 5.1.6 and MySQL 5.0.22

I moved all files under "Document Root" from the old server (var/www/html) to "Document Root" on the new server (/var/www/vhosts/heathernova.net/httpdocs).
With Mysqldumper I made a backup of the database and restored it on the new server. Then I made the necessary changes to mainfile.php.
For testing I modified my local hosts file on the client to connect to the new server as the damain is not yet moved.

After opening some cache directories (777), which was not necessary on the old server, the website launched in the browser.

I am able to login, do postings in the forums but I have several problems now.

1. no access to the admin panels (blank page apears)
2. Attaching files in forums postings work but when downloading they differ, are not usable.
3. XOOPS Gallery is not working (mabe the PHP safe mode problem)
4. Memberlist starts, but search is not working
5. Popup windows with additional smilies is emty.

Any idea what causes these problems and how to solve them? Point 1 and two are most important to solve.

Have I done the right strategy considering the PHP and MySQL Version is quite a difference between the old and new server? Does XOOPS 2.09 works with this PHP and MySQL?

regards
gerd
www.heathernova.net - "it's the spirit in you, that i want to find." (heather nova)

2
Peekay
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 16:27

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I can't say for sure about XOOPS 2.0.9.2 and PHP 5, but if I recall correctly, XOOPS Gallery needs the NETPBM graphics toolkit to be installed on the server?.
A thread is for life. Not just for Christmas.

3
stefan88
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 16:58

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Quote:
1. no access to the admin panels (blank page apears)


if there is an adminmenu.php file in cache folder rename it to something else adminmenu.ph_ for example and see if you can login (you will be prompted that this is your firs login as admin)

If this does not work try to enable phpdebug via phpmyadmin or other tool...
..

4
hnn_gerd
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 17:43

  • hnn_gerd

  • Just popping in

  • Posts: 48

  • Since: 2008/5/24


Thanks Peekay, but NetPBM and ImageMagick is installed on the server. If I only could go to the admin panel, there is a function to verify they exists.


Thanks stefan88, but deleting the caches I already tried. It seems a permission problem. I enabled PHP-Debug but there is no hint whats wrong.
www.heathernova.net - "it's the spirit in you, that i want to find." (heather nova)

5
stefan88
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 17:50

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

you may need to change/set the user owner of the files for new account. Maybe host suport may help on that.
Also web server log could have some clues. If you do not have access to them ask host gupport...
..

6
hnn_gerd
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 20:48

  • hnn_gerd

  • Just popping in

  • Posts: 48

  • Since: 2008/5/24


thanks stefan88, but the ownership of files is not the problem. I even changed for testing the files to permission 777 (writable for everyone) and it does not work.
www.heathernova.net - "it's the spirit in you, that i want to find." (heather nova)

7
hnn_gerd
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/25 21:29

  • hnn_gerd

  • Just popping in

  • Posts: 48

  • Since: 2008/5/24


When I upload a picture as attachment in the forums that is 272kB in size, it ends up n 124 kB. When PHP Debug is on it is 156kB. Does it makes sense that the Notice hints of PHP are added to the uploade or downloaded jpeg file?

Anyway, i am using XOOPS 2.0.9 and newBB 2.01. There is newBB2.02 out which i should try as this update seems to be easy.

I think I should update XOOPS maybe on the old server first and then do the transfer. I have read the readme files the full package of 2.0.18 but that is not clear to me.

Could anybody tell me the update steps from 2.0.9 or can it be done in one step without doing intermedite steps? Does this update change anything at the database?

I still think there is maybe something with the character set used (latin1/utf8 etc.). It is quite a bifg step from MySQL 3.x to 5.
www.heathernova.net - "it's the spirit in you, that i want to find." (heather nova)

8
Peekay
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/26 11:18

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


The cache folder permissions should be 777 but 'adminmenu.php' (which is inside cache) normally remains set at 644. You might try setting this to 666 temporarily to see if you can get into admin.

Also, for reliable uploading, PHP files need to be FTPd in ASCII (text) mode. You might try re-uploading the system files and forcing an ASCII transfer.

If that doesn't work and the other folder permissions are set correctly, it could well be a PHP/MySQL compatibility issue.

I have never upgraded an existing site, but I'm sure someone will offer some advice. I suspect it may need to be done in several steps to go from 2.0.9.2 to the latest version.

Before you do that, you may want to find out if XOOPS Gallery actually works with the latest version of Xoops, or with PHP or MySQL 5. It is a very old module. I would post a specific question in the forums to see if you can find another XOOPS Gallery user.
A thread is for life. Not just for Christmas.

9
stefan88
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/29 5:51

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

try to disable all modules except system via phpmyadmin and see if 2.0.9.2 is compatible with your new server. Then you can check modules one by one.

Newbb2 is discontinued. the development path was:

newbb1.x -> newbb2.x -> END!
newbb1.x -> cbb1.x -> cbb2.x -> cbb3.x(curent stable) -> cbb4alpha

There is also some Gijoe and herve work based on newbb1.

your upgrade can be done (acording to readme - I never use it myself, so make backups!) from 2.0.9.2 strait to 2.0.18.1:

Quote:
Upgrading from any XOOPS ranging from 2.0.7 to 2.0.13.2 (using the full package):
1. Move the "upgrade" folder inside the "htdocs" folder (it's been kept out as it's not needed for full installs)
2. Delete htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/
3. Upload the content of the htdocs folder over your existing files
4. Delete the following folders and files from your server (they belong to an old version):
* class/smarty/core
* class/smarty/plugins/resource.db.php
5. Empty the templates_c folder (except index.html)
6. Ensure the server can write to mainfile.php
7. Access <your.site.url>/upgrade/ with a browser, and follow the instructions
8. Write-protect mainfile.php again
9. Delete the upgrade folder
10. Update the "system" module from the modules administration interface
..

10
hnn_gerd
Re: heathernova.net problems on new Virtual Private Server (VPS)
  • 2008/5/29 18:57

  • hnn_gerd

  • Just popping in

  • Posts: 48

  • Since: 2008/5/24


thanks Stefan. that is a good idea for testing. I have 2.0.9 not 2.9.0.2 btw.

you posted the development path, but is this the upgrade path as well? Could I upgrade maybe from newbb 2.x to cbb2 or even cbb3 or is that totally different?
www.heathernova.net - "it's the spirit in you, that i want to find." (heather nova)

Login

Who's Online

156 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

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

Latest GitHub Commits