1
asche
XOOPS via cpanel - installation path?
  • 2005/4/21 9:41

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I just tried to install XOOPS via cpanel (my host surpass provides fantastico installation scripts).

installation path:
/public_html/html
-> when asked for installation path I added /html/

problem:
When calling my website with http://www.volksbegehren-mobilfunk.de
- I can See Startpage with login, but no colours, etc.
- when trying to login I receive error:
The requested URL /~mbf/html/html/user.php was not found on this server.
- all links are calling for directory /html/html/ instead of /html/

what I tried:
- I looked up mainfile.php and found all paths leading to:
'http://volksbegehren-mobilfunk.de/html'
-> it should be allright to have these settings, when installing in / public_html / html / ?

Anybody knows. Maybe this is a very basic question and I will try to check myself. But if it is so easy to make a mistake in "standard install" via cpanel, then maybe more people have the same problem? If a solution is found, I will post it in surpass.

2
bluenova
Re: XOOPS via cpanel - installation path?

It very easy to install XOOPS yourself. Just upload the files to your webspace and run http://yourdomainname.com/install/ and follow the instructions. I think it's not much harder than using fantastico. You just need to create a database (in cpanel) and create a dbuser for the database.

3
asche
Re: XOOPS via cpanel - installation path?
  • 2005/4/21 10:24

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


thanks bluenova, maybe uploading and installing XOOPS by user is even more straightforward than using cpanel scripts (I tried a couple of times, also running in one or the other (path related) problem).

I just want to check out the fantastico install and learn if it is "compatible" with the "upload method" you described. If somebody can straighten out this path-problem (links on startpage calling /html/html/ instead of /html/) I will post "best practices" comparing "user installation" and "cpanel instalation".

4
bluenova
Re: XOOPS via cpanel - installation path?

Also in mainfile.php check that the root path is:

/home/**yourusername**/public_html/html

(without trailing slash)

I also think that html isn't the best name to use for a sub-folder, it could be that surpass use it as a short cut to public_html in the same way that they do with 'www'

5
bluenova
Re: XOOPS via cpanel - installation path?

It also looks like your site is infact installed in the root, so therefore you should remove 'html' from the end of your url in mainfile.php that should get your links working properly.

root path:
/home/**yourusername**/public_html (or /home/**yourusername**/public_html/html if it's really installed there)

url path:
http://volksbegehren-mobilfunk.de

6
asche
Re: XOOPS via cpanel - installation path?
  • 2005/4/23 12:43

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


thanks bluenova, I edited mainfile.php by removing html-directory 2 times.

Now I receive error:
Warning: main(/home/mbf/public_html/include/common.php): failed to open stream: No such file or directory in /home/mbf/public_html/html/mainfile.php on line 97

I believe that XOOPS is installed in html-directory allright, because mainfile.php and rest of xoops-file is there (name of dir was not a problem in prior installs either). In surpass forum, somebody said, the problem is in database without being more specific.

So I will upload and install as you suggested.

greetings asche

7
asche
Re: XOOPS via cpanel - installation path?
  • 2005/4/23 14:03

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


Now I tried the upload and install method (not via cpanel with fantastico) and I still have a similar problem.

When I call my website:
http://www.mobilfunk-volksbegehren.de/
the installation page is displayed again.

I suppose that my XOOPS installation is not recognized all right, because in index.php it says:

/**
* redirects to installation, if XOOPS is not installed yet
**/
include "mainfile.php";

Does that mean, that my mainfile (which is in directory html -> this directory is created by default when uncompressing tar.gz file) is not found, even I can see it in dir / www / html / ?

One confusing thing:
I put tar.gz in /public_html/ and uncompressed -> but there is no html directory in /public_html/.
Finally I found my html dir installed in dir /www/ which is parallel to /public_html/.

Anybody knows why the Xoops-2.0.10RC2.tar.gz file was not uncompressed into /www/htm/ and not into /public_html/htm/.
Is it something special with the provider?

8
asche
Re: XOOPS via cpanel - installation path?
  • 2005/4/23 14:04

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


Now I tried the upload and install method (not via cpanel with fantastico) and I still have a similar problem.

When I call my website:
http://www.mobilfunk-volksbegehren.de/
the installation page is displayed again.

I suppose that my XOOPS installation is not recognized all right, because in index.php it says:

/**
* redirects to installation, if XOOPS is not installed yet
**/
include "mainfile.php";

Does that mean, that my mainfile (which is in directory html -> this directory is created by default when uncompressing tar.gz file) is not found, even I can see it in dir / www / html / ?

One confusing thing:
I put tar.gz in /public_html/ and uncompressed -> but there is no html directory in /public_html/.
Finally I found my html dir installed in dir /www/ which is parallel to /public_html/.

Anybody knows why the Xoops-2.0.10RC2.tar.gz file was not uncompressed into /www/htm/ and not into /public_html/htm/.
Is it something special with the provider?

9
bluenova
Re: XOOPS via cpanel - installation path?

Try setting root path to:
/home/**yourusername**/public_html/html

and the url path to:
http://www.mobilfunk-volksbegehren.de

Its a strange one, but I still really think that 'html' is a bad folder name to choose, and why not just install in 'public_html' unless you want it as a sub-domain.

10
asche
Re: XOOPS via cpanel - installation path?
  • 2005/4/24 22:28

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


yeeaaaaaaaap, thats it, you are right with the paths:

I set root path to:
/home/**yourusername**/public_html/html
and the url path to:
http://www.mobilfunk-volksbegehren.de

and the links are all right now (paths looking for dir /html/ instead of faulty /html/hml/), so that I can login successfully. This only works for my domain with manual XOOPS install.

The other domain, where I have installed XOOPS via cpanel and fantastico, also works fine with the paths now, but still cant find the theme (I cant see the XOOPS-colours), which is database related according to a surpass forum posting (I still think it is path related).

Because of all this mess with my two ways of default installations I asked surpass to delete both accounts).

If the path problem (paths looking for dir /html/hml/ instead of just /html/) occurs again after manual and fantastico installation, I will post a new thread "Xoops installation" -"best practices".

Just an example -> Looking for install guide I ended up on http://docs.xoops.org/modules/xdocman/index.php?doc=xu-002&lang=en with guide from 2003 which did not give me any help. As a beginner, I for sure would like to know, if I can upload tar.gz or (and uncompress on host) or (uncompress locally) and upload the files afterwards. Also I would like to know, that the files are uncompressed in dir /html/ which might be causing trouble (a) trouble path, b) trouble theme).

thanks blue nova, best regards asche

Login

Who's Online

291 user(s) are online (249 user(s) are browsing Support Forums)


Members: 0


Guests: 291


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