1
Corion
Installing News 1.42 with Xoops 2.2.3 Final
  • 2005/11/1 23:59

  • Corion

  • Just popping in

  • Posts: 3

  • Since: 2005/11/1


I'm trying to install the news module with my fresh installation of XOOPS.

I've extracted the news zip to the modules folder, and immediately after doing so, I tried installing it from the Modules > Administration panel. It says the module file is missing.

I went into my modules folder and checked the installation and it appears none of the permissions were set properly. Most everything was set to 700 or 600. After changing everything to *44, it appears it can see most of the files. I don't know much about permissions and how they work, but it appeared like it couldn't read the file so that was my first quick solve to it.

Couple of questions now ...

What permissions should everything be set to? Are there some that should be left at 700 or 600?

Now that I've set permissions on everything, it can actually see some sort of install file for the module but it's missing the icon and when I try to install it, it says:
SQL file not found at /home/corion/public_html/nvhc/html/modules/news/sql/mysql.sql


I've looked in the directory, and the file IS there. I've tried it with 744 and 755 as well as 777 permissions, but its just not working.

Any ideas?

2
gediminasbyt
Re: Installing News 1.42 with Xoops 2.2.3 Final

Most directories I do 2775 and for files 644. You can try executing something like that in your html directory:
find -type d -exec chmod 2775 {} \; -this will chmod all directories

and for files you can do:

find -type f -exec chmo 644 {} \; -for files. Then you'll just have to chmod 444 mainfile.php otherwise script will complain about it.

About news make sure you have no extra subdirectories. {xoopsroot}/modules/news/andallnewsfilesarehere

Gediminas

3
Corion
Re: Installing News 1.42 with Xoops 2.2.3 Final
  • 2005/11/2 8:37

  • Corion

  • Just popping in

  • Posts: 3

  • Since: 2005/11/1


Are you saying I'm only supposed to have files in the news directory? When I installed, I just moved the zip file (XOOPS2_mod_news_1.42.zip) into my modules folder and hit extract. This created a bunch of other subdirectories and such, all with very limited permissions for some reason (it appears the other zips allowed permissions or something)

EDIT:
It looks like 1.42 is expecting to be an upgrade of something previously installed ... I thought I downloaded a full version?

EDIT2:
Am I supposed to overwrite system or something with this thing? It really doesn't like being installed ...

EDIT3:
Okay, I installed news in the modules folder and manuall set every file to 644. I then set every directory (just the directory, not the files inside) to 755.

It is still saying "Module File for news Not Found!" under the Modules Administration page.

4
Corion
Re: Installing News 1.42 with Xoops 2.2.3 Final
  • 2005/11/2 9:05

  • Corion

  • Just popping in

  • Posts: 3

  • Since: 2005/11/1


Okay, I got it now I think.

I was forgetting to CHMOD the /modules/news directory, LOL.

Everything looks like it installed ... off to configure it now!

Thanks for the help :0)

5
gediminasbyt
Re: Installing News 1.42 with Xoops 2.2.3 Final

The scripts that I gave would have made the job easier for you would have done proper permissions for all directories and files. Then you just go and secure your site by adjusting permsisions for one or 2 files in a whole site instead of chmoding every file separately...

Gediminas

Login

Who's Online

417 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 417


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