My Journey with Wedge.

CerealGuy

  • Posts: 327
Re: My Journey with Wedge.
« Reply #15,  »
Quote from Wanchope on April 30th, 2015, 09:35 AM
Quote from CerealGuy on April 29th, 2015, 11:54 PM
index.php?action=admin;area=featuresettings;sa=home
Sorry don't know the english descriptions, but there you can change it.
From the link you gave me, there is no option to disable it entirely, just to remove it from the displaying in the homepage. This means that thought query is still executed but to displayed. I was looking for an option to display thought entirely.
Thanks anyway.
That would be stupid if wedge executes the queries but not display thoughts. I will have a look at it...

Wanchope

  • Posts: 231
Re: My Journey with Wedge.
« Reply #16,  »Last edited
Yeah, that would be great.
.....................
I posted a Facebook status update on my Facebook wall (not personal Facebook wall, the one I created for Nigerian movies). The message goes like this :
'We are creating a forum for Nigerian Movies,  please indicate if you are interested and you will be invited when we are through'.  So far I've received feedback from about 10 members indicating their interest.
I will send similar message tomorrow and will keep doing it every 3 days for about a week, this is create curiosity on my 'friends'.
Just finished the server settings, installed memcached and the system dictated it and is set on level one caching. The speed is great but it should be, shouldn't it? Afterall it is an empty forum.
Abandoned the url rewrite configuration as I am pretty clueless on how to configure it on Nginx.
Still working on the test forum...
Re: My Journey with Wedge.
« Reply #17,  »
A short update: I have finished every settings needed in the Admin Control panel.
was busy yesterday on my friend's grandma's funeral but ended up doing a lot at night.
Posted the second Facebook campaign yesterday even and have received 8 'book a space for me request' from my  800 'friends'.
I will start the launch countdown imminently I figure out the Nginx rewrite config.
Thanks.

Pandos

  • Living on the edge of Wedge
  • Posts: 635
# dpkg-reconfigure brain
error: brain is not installed or configured

Wanchope

  • Posts: 231

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: My Journey with Wedge.
« Reply #20,  »
Hmm...
@Nao: please take a look...

Here's the config:
Code: [Select]
server {
   server_name .DOMAIN.TLD;
   index index.php;
   root /var/www/WEDGE_INSTALLATION_DIR;

   error_log /var/www/WEDGE_INSTALLATION_DIR/error.log;
   
   #Specify a charset
   charset utf-8;
   
   location / {
      try_files $uri $uri/ /index.php?$args;
   }

   location ~ \.php$ {
      try_files $uri =404;
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      fastcgi_read_timeout 180;
      include fastcgi.conf;
      fastcgi_pass unix:/var/run/php5-fpm.sock;
   }
   
   ## Deny dot files:
   location ~ /\. {
      deny all;
   }

   ## favicon.ico not found
   location = /favicon.ico {
      access_log off;
      log_not_found off;
   }

   ## robots.txt not found
   location = /robots.txt {
      access_log off;
      log_not_found off;
   }

}

Wanchope

  • Posts: 231
Re: My Journey with Wedge.
« Reply #21,  »
Thanks for the Config, however, I can't get it to work on the subdomain.
I already have another config in the main domain which looks like this

Code: [Select]


server {
listen 80;
listen [::]:80;

root /var/www/nerdng.com/html;
index index.html index.htm;

# Make site accessible from http://localhost/
server_name nerdng.com www.nerdng.com;

location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}

# Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
#location /RequestDenied {
# proxy_pass http://127.0.0.1:8080;   
#}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
# root /usr/share/nginx/html;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
# fastcgi_pass unix:/var/run/php5-fpm.sock;
# fastcgi_index index.php;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}


# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# root html;
# index index.html index.htm;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}

I added the config under it, maybe it is causing the problem, should a add the config as a separate server block? in The Nerdng Config?
Re: My Journey with Wedge.
« Reply #22,  »
^^^ Mod please remove the post above, my edit time has passed.
Thanks.
Re: My Journey with Wedge.
« Reply #23,  »
Updates:

* Now moved the wedge to the root domain - http://nerdng.com

* The Nginx config posted by @Pandos above is not working, the Nginx server restart is failing which means the config if not properly set so I have to revert to non pretty url for now,.

The forum is still on pre-launch which means the access is restricted.
More coming.
Thanks.



CerealGuy

  • Posts: 327
Re: My Journey with Wedge.
« Reply #24,  »
Quote from CerealGuy on April 30th, 2015, 12:01 PM
Quote from Wanchope on April 30th, 2015, 09:35 AM
Quote from CerealGuy on April 29th, 2015, 11:54 PM
index.php?action=admin;area=featuresettings;sa=home
Sorry don't know the english descriptions, but there you can change it.
From the link you gave me, there is no option to disable it entirely, just to remove it from the displaying in the homepage. This means that thought query is still executed but to displayed. I was looking for an option to display thought entirely.
Thanks anyway.
That would be stupid if wedge executes the queries but not display thoughts. I will have a look at it...
Wedge is definetly not doing that. Only if thoughts should be displayed it's asking the db for thoughts. Otherwise wedge doesn't even load Thoughts.php (have a look into Home.php).

Wanchope

  • Posts: 231
Re: My Journey with Wedge.
« Reply #25,  »
Thanks @CerealGuy, I never noticed thought have it's own files I thought it's been executed in sources.php like smf.