1
vmax2extreme
xforum & myphoto links broken?

I moved my website data to a new host for testing. All work fine except myphoto and xforum.

//66.7.205.59/~vmoanet/modules/myalbumn redirects tohttp://66.7.205.59/~vmoanet/gallery/index,10,0.html, but I get error 404?

Production points tohttp://www.vmoa.net/gallery/index,20,0.html and works just fine.

same goes for

http://66.7.205.59/~vmoanet/modules/xforum redirects tohttp://66.7.205.59/~vmoanet/forums/ but I get error 4040 too.

Production points tohttp://www.vmoa.net/forums/ and works just fine.

I have checked my file structure and the MySQL database for the gallery and forums locations, but they dont exist on the production site so where are these links actually going since they do work on the production? Its just the test site its not working and I am unsure how this works.

All my other modules work just fine and these are running the latest updates. I even tried to reinstall these two modules and still no luck?

Any help would be greatly appreciated.


2
wishcraft
Re: xforum & myphoto links broken?

HI steve suprised you didn't submit a ticket, Sounds like you are missing the .htaccess file i put in place on the XOOPS ROOT on your website.

For XForum there is a field in the table called 'Domain' which has the hosting domain in it, this is for multisite support you will have to change this to the path your domain is on. Even if you aren't using multisite it will still populate itself from this field in the database.

You will have to run the following script to generate the data to replace the domain field with:

<?php
echo urlencode('http://66.7.205.59/~vmoanet');
?>


You should find the script will output the path and name in URL encoded form which is done with multisite for IDN (Internationalised Domain Names), you should have for this example the following code to change the domain field to in xforum categories or forums table, it could be in both:

http%3A%2F%2F66.7.205.59%2F%7Evmoanet

You may also find that mod rewrite is not enabled on apache with the copy you have moved it to, this will need to be changed for the path rewritting they both do.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

3
vmax2extreme
Re: xforum & myphoto links broken?

Hi Simon,

This is Mike, I work along with Steve on the site and I have been coming up to speed in running the XOOPs system. I did copy over the .htaccess file with the transfer. I did have to initially take out the 3 httpd first three lines since the site didnt like them. It was trying to make me download an httpd file when you hit the site. Does this script run in phpadmin? I tried it there and it didnt like the syntax?

Anyhow, Steve is now tied up for the next few weeks with other obligations. We are testing on this new site since our current host seems very lagged. The new site seems almost as bad and now I'm starting to wonder if its something to do with the new xoops 2.5.x platform since we upgraded from 2.4.x and never encountered a lagging issue. Our database is only about 18mb in size and we are unsure as to whats going on. We even tried a few different themes to rule out the cpanel theme we current have in place now. Still no luck figuring out why its so lagged for everyone. Yes, cache is enabled too!

Thanks again,

Mike

Login

Who's Online

117 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 117


more...

Donat-O-Meter

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

Latest GitHub Commits