Wordpress , newest version OC and firmware 16.1 release date

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Tue Sep 22, 2015 9:29 pm

AWWWWW GOD! :pound :hammerhead :doh :sob

after 3 php.ini check I did a mistake (french to english)

I wrote extention=mysql.so instead of extension=mysql.so

The module appears now in the apache/php info! :punk

I still have a bunch of error when listing installed extention using " php -m... " command but listed in the end...


Jocko wrote:Can you post your php.ini file and the content of the folder extensions
Code: Select all
ls -l /usr/lib/php/extensions
maybe you load some obsolete modules with php 5.6.6 but compiled for version 5.5.7.


here is a capture from both commands: (attached file)



I'm leaving for tonight but I sure be back tomorrow morning! Thank you very much again!
You do not have the required permissions to view the files attached to this post.
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Wordpress , newest version OC and firmware 16.1 release

Postby Jocko » Tue Sep 22, 2015 9:32 pm

So you have installed owncloud package.

and now you need to install again
You find a new version for php 5.6.6 here viewtopic.php?f=15&p=19914#p19914
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Tue Sep 22, 2015 9:40 pm

Wordpress seems to work! I'll take a look tomorrow to be sure everything is working fine but the install.php starts!

Thank you jocko and fvdw!

and yes I did installed own cloud. I was curions but in version 6 (i think it's an old version) fonctionnality are a bit missing... so i uninstalled it. Version 7 is quite a bit better in term of fonctionnality and the newest version i think is 8.


I'll post a follow up tomorrow with my finding on wordpress on NS2!
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Wordpress , newest version OC and firmware 16.1 release

Postby Jocko » Tue Sep 22, 2015 9:50 pm

about wordpress, check regularly if there is an update because this tool is well known to be used by hackers (there are many exploits with this app)

http://www.wordpressexploit.com/
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Wed Sep 23, 2015 1:41 pm

Hi Jocko, you're probably right as Wordpress is one of the most used CMS...

Just a very very quick update on using wordpress on Network Space 2.

1- wordpress seems to sometime looking for index.php as default in root folders. I don't know why but I got the page not found error so I need to manualy add index.php at the end of the web shortcut. I think the default "home" is set to index.html... I saw something about this in another forum if I remember... Do someone have a clue?

2- When I first go the my wordpress home page from my internet explorer (nas/web/index.php) It seem that I need to enter the nas admin password? Share access is set to public. my real location (share) is nas/data/web and my symlink is pointing to the folder "web".

3- I did choose the the high memory option for the web server. It greatly help for speed as with the normal it's almost unusable but with the high option , everything is ok , no that fast but neither slow. It's alomost the same speed as with wordpress.com hosting.

So , so far so good! :beer: Anyone have a clue for #1 et #2?

:thinking
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Wordpress , newest version OC and firmware 16.1 release

Postby Jocko » Wed Sep 23, 2015 2:19 pm

Hi raidsm,

I think you should make some Internet search with workpress+hacking for your knowledge. You need to be careful if you install some plugins (often the hacker uses them to make their bad job)

For the other, remember in my previous post I wrote
Jocko wrote:and the relevant URL would be http://mynasmane/myweb/yourdefaultpage.html or http://mynasmane/myweb if your default page is home.php
if you want other credential settings you must add a custom .htaccess file in your folder myweb


So you need to create a .htaccess file at the root of your wordpress folder with this content
Code: Select all
# allows anybody
Require all granted
Be aware that means that if you open port 80 (or 443) on your router, anybody can get access on this folder.

the default directory is home.php whereas wordpress expects index.php.
So still in your .htaccess add this line
Code: Select all
DirectoryIndex index.php
to overwrite our setting

raidsm wrote:3- I did choose the the high memory option for the web server. It greatly help for speed as with the normal it's almost unusable but with the high option , everything is ok , no that fast but neither slow. It's almost the same speed as with wordpress.com hosting.
Indeed it is the purpose of this feature ;) . About speed, maybe you get the same speed when the host is on your LAN but if up speed of your ISP is slow, you won't get the same result with a remote access!
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Thu Sep 24, 2015 3:12 pm

Thanks!

wow everything seems to work fine! as the nas is actualy a "learning" box for now I don't care about internet acces. Right now I'm connected directly from my pc eth port to the nas eth port. I will surely have to learn a bit about access as eventualy I don't want anybody to have all access of my web folder. I know it's not in the scope of this topic but to you have a small clue on how to handle the .htaccess fil only to allow the neccessary files to be "read" and not giving all the web folder to be full access?

I'm quite impress now as all this old little box can serve me right. Just a note think that over SMB , the nas (transfer rate) is faster than on AFP.
I think that AFP support is kind of new in the v16 firmware?

Anyhow I'm exited at the new 16.1 firmware as many new feature will be included. Hope to hear from you guys soon!

:beer: :applause
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Wordpress , newest version OC and firmware 16.1 release

Postby Jocko » Thu Sep 24, 2015 3:26 pm

Maybe you will find useful information here: http://www.wpbeginner.com/wp-tutorials/ ... wordpress/

otherwise, on www.apache.org you will find many detailled information (our version is 2.4.3)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Thu Sep 24, 2015 5:45 pm

lots of interesting info you gave me!

Thanks a lot! :rock
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Wordpress , newest version OC and firmware 16.1 release

Postby raidsm » Fri Sep 25, 2015 2:19 pm

Hi Jocko,

maybe you can help (again..)

Here's my situation.

I reinstalled everyting from scratch yesterday. Everything works fine. I was able to access my wordpress website on my nas.
My install environement was a direct link between a windows 7 laptop and the NAS. Other than installing a DHCP server on my laptop to find the NAS everything whent fine.

BUT, when I came home with my brand new installed nas , I conenct it to my home network (time capsule AC , macbook pro, DHCP reservation made for port forwarding) , everything worked EXEPT wordpress. I could only load some text from my webpage but none of the image , theme , posts etc. showed up! I could only see 2 or 3 short sentence from my webpage like the title.

I tought it was a bad configuration of the wp-config.php (database information and hostname) I was wrong,
I work on this this for 4 hours. I also tought it was a rendering problem in SAFARI as I could see some elements so I fired my windows 10 VM: SAME RESULTS! I drove me crazy. I was sur it was a host name, or a bad resolution of the host because:
1- on my windows 7 laptop I could use my host name to resolve in the internet explorer. ie: NS2/www
(NS2=my nas host name and www beiing my symlink to my wordpress webpage) and I could directly ping my nas host name.
2- When on my macbook AND windows VM , I wasn't able to ping and resolv my host name. It's quite a strange problem.


Then , I booted up my mac in bootcamp (native windows 10) and VOILA it worked! what a mess...

Do you have a clue? I looked here and it seems some are experiencins host name resolution problems. Maybe thats why my wordpress can't show all it's content when i'm on my mac? Should I ask my question in the wordpress forums or it's mysql/apache problem? I don't quite undertand why on my mac or windows VM my website is unable to show all it's content and as soon as I boot a windows computer , all the content is showing up.

I then wanted to test today via WAN (at my job) but as I forwarded a non standard port (8080 instead of 80 to avoid some web indexing) this is also not working. The NAS webpage is working fine (ie: ns2.net:8080) but the wordpress site (ns2.net:8080/www) is not working? Unable to reach because of a time out... Maybe I should use forward the standard port for a reason , I don't understand that either... Do you know why? ouffffff lot's of learning in all that! :thinking



:scratch :dontknow
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 3 guests