HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Advanced Options Erased

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#54304 (In Topic #11845)
Avatar

Honoured member

Hi, weird thing going on with Elief hosting/Ocportal and my site.

A few hours ago, out of the blue, everyone started getting:
---------
503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
---------
I contacted Elief, they said everything looked ok on their end. This is my actual transaction with them so far:

Ian Shires
Client
09/05/2009 16:07
I am getting this error on my live website:

503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!

—————————-
IP Address: 76.188.212.187
Michael S
Staff
09/05/2009 16:17
Hi Ian,

This has been corrected. The domain " http://www.dimestoreproductions.com/%22 is loading fine from our end.

Please clear your browser cache and have a check from your end.

Best Regards,
Michael
eLief Support Staff
How would you rate this reply?Poor




Excellent




Ian Shires
Client
09/05/2009 16:21
it is still showing unavailable in all browsers I have.

all back end control panel things show nothing over quote, nothing suspended, why is this going on? I am getting complaints from my website users.

Michael S
Staff
09/05/2009 17:03
Hi,

We will have a check and get back to you.

Best Regards,
Michael
eLief Support Staff
How would you rate this reply?Poor




Excellent




Ian Shires
Client
09/05/2009 17:10
I can also add, that it just seems to be the one domain, other domains on my reseller account are fine and showing.

www.dimestoreproductions.com is running OCPortal, which was the reason I came to your hosting company. The rest are with different CMSs until I get solid with the main domain name.

Richard Rowan
Staff
09/05/2009 17:49
Hi Ian,

It appears to be loading fine from our end and from multiple locations, please see the attached screenshot. Could you try accessing the website via a proxy such as http://proxify.com/ - it may be an issue with your local ISP. Though I can see that it is still giving off 503 errors randomly, so I'll look into why this is happening for you and update you soon.

Best Regards,
Richard Rowan
eLief Web Services


Attachments
screen.jpg screen.jpg
How would you rate this reply?Poor




Excellent




Richard Rowan
Staff
09/05/2009 18:21
Hi Ian,

It seems the issue was related with the .htaccess file being used by that domain, specifically the php values being declared, I commented those ( the server defaults are almost the same ), and it seems the 503 errors have stopped :). A copy of the original .htaccess file can be found on /home/aipman1/public_html/.htaccess2. Please have a check from your side and let us know if the issue persists.

Best Regards,
Richard Rowan
eLief Web Services
How would you rate this reply?Poor




Excellent




Ian Shires
Client
09/05/2009 18:46
continuing to dig into what's wrong: Still getting reports of the unavailable error, though it seems to be working better.

the major thing I found was: The Admin –> Setup –> Site Options —in the validation and advanced setting, ALL check marks have been un-checked, and setting them to be checked and hitting save, does nothing.

obviously SOMETHING happened to the set up of things a few hours ago that caused that to happen, cause it was fine and working before then, and the Short Urls is controlled there, and things after the error started - the urls are not the short ones anymore.

I report this to you as you are supposed to be familiar with the OCPortal software, and will also be reporting this on the ocportal support. I don't know what could have caused such a thing to happen.
————————————–




So I'm reporting this problem here in case anyone here can shed some light on what the heck is going on.

Back to the top
 
Posted
Rating:
#54305
Avatar

Honoured member

for more info, this is the htaccess as they have it now, after they changed what they said they changed above…

# Disable inaccurate security scanning (ocPortal has it's own)
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

# ocPortal needs uploads; many hosts leave these low
#php_value post_max_size "16M"
#php_value upload_max_filesize "16M"

# Turn insecure things off
#php_flag allow_url_fopen off
#php_flag register_globals off

# Put some limits up. ocPortal is stable enough not to cause problems- it'll only use higher limits when it really needs them
#php_value memory_limit "-1"
#php_value max_input_time "60"

# This unavoidably kills filedump folder creation, and stops us controlling our script execution time
# php_flag safe_mode off      But unfortunately we can't control it except from php.ini

# Sandbox ocPortal to it's own directory
# php_value open_basedir "/tmp:/home/blah/public_html/ocportal/"      
But needs customising for your server and only works outside php.ini in PHP6+

# Set ocPortal to handle 404 errors. Assume ocPortal is in the root
ErrorDocument 404 /index.php?page=404

#<IfModule mod_rewrite.c>
# Needed for mod_rewrite
Options +FollowSymLinks

RewriteEngine on

# Redirect away from modules called directly by URL. Helpful as it allows you to "run" a module file in a debugger and still see it running.
RewriteRule ^([^=]*)pages/(modules|modules\_custom)/([^/]*)\.php$ $1index.php\?page=$3 [L,QSA,R]

# These have a specially reduced form (no need to make it too explicit that these are CEDI)
#  We shouldn't shorten them too much, or the actual zone or base url might conflict
RewriteRule ^([^=]*)pg/s/([^\&\?]*)/index\.php$ $1index\.php\?page=cedi&id=$2 [L,QSA]

# These have a specially reduce form (wide is implied)
RewriteRule ^([^=]*)pg/galleries/image/([^\&\?]*)/index\.php(.*)$ $1index.php\?page=galleries&type=image&id=$2&wide=1$3 [L,QSA]
RewriteRule ^([^=]*)pg/galleries/video/([^\&\?]*)/index\.php(.*)$ $1index.php\?page=galleries&type=video&id=$2&wide=1$3 [L,QSA]
RewriteRule ^([^=]*)pg/iotds/view/([^\&\?]*)/index\.php(.*)$ $1index.php\?page=iotds&type=view&id=$2&wide=1$3 [L,QSA]

# These are standard patterns
RewriteRule ^([^=]*)pg/([^/\&\?]*)/([^/\&\?]*)/([^\&\?]*)/index\.php(.*)
$ $1index.php\?page=$2&type=$3&id=$4$5 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)/([^/\&\?]*)/index\.php(.*)$ $1index.php\?page=$2&type=$3$4 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)/index\.php(.*)$ $1index.php\?page=$2$3 [L,QSA]
# This one is weird… apache strips out // and turns to /, thus requiring an extra pattern…
RewriteRule ^([^=]*)pg/index\.php(.*)$ $1index.php\?page=$3 [L,QSA]

# Now the same, but without any additional parameters (and thus no index.php)
RewriteRule ^([^=]*)pg/s/([^\&\?]*)$ $1index\.php\?page=cedi&id=$2 [L,QSA]
RewriteRule ^([^=]*)pg/galleries/image/([^\&\?]*)$ $1index.php\?page=galleries&type=image&id=$2&wide=1$3 [L,QSA]
RewriteRule ^([^=]*)pg/galleries/video/([^\&\?]*)$ $1index.php\?page=galleries&type=video&id=$2&wide=1$3 [L,QSA]
RewriteRule ^([^=]*)pg/iotds/view/([^\&\?]*)$ $1index.php\?page=iotds&type=view&id=$2&wide=1 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)/([^/\&\?]*)/([^\&\?]*)/$ $1index.php\?page=$2&type=$3&id=$4 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)/([^/\&\?]*)/([^\&\?]*)$ $1index.php\?page=$2&type=$3&id=$4 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)/([^/\&\?]*)$ $1index.php\?page=$2&type=$3 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?]*)$ $1index.php\?page=$2 [L,QSA]

# And these for those nasty situations where index.php was missing and we couldn't do anything about it (usually due to keep_session creeping into a semi-cached URL)
RewriteRule ^([^=]*)pg/s/([^\&\?\.]*)&(.*)$ $1index\.php\?$3&page=cedi&id=$2 [L,QSA]
RewriteRule ^([^=]*)pg/galleries/image/([^/\&\?\.]*)&(.*)$ $1index.php\?$5&page=galleries&type=image&id=$2&wide=1&$3 [L,QSA]
RewriteRule ^([^=]*)pg/galleries/video/([^/\&\?\.]*)&(.*)$ $1index.php\?$5&page=galleries&type=video&id=$2&wide=1&$3 [L,QSA]
RewriteRule ^([^=]*)pg/iotds/view/([^/\&\?\.]*)&(.*)$ $1index.php\?$3&page=iotds&type=view&id=$2&wide=1 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?\.]*)/([^/\&\?\.]*)/([^/\&\?\.]*)&(.*)$ $1index.php\?$5&page=$2&type=$3&id=$4 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?\.]*)/([^/\&\?\.]*)&(.*)$ $1index.php\?$4&page=$2&type=$3 [L,QSA]
RewriteRule ^([^=]*)pg/([^/\&\?\.]*)&(.*)$ $1index.php\?$3&page=$2 [L,QSA]

# These have a specially reduced form (no need to make it too explicit that these are CEDI)
#  We shouldn't shorten them too much, or the actual zone or base url might conflict
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/s
/([^\&\?]*)\.htm(\?.*)?$ $1/index\.php\?page=cedi&id=$2&$3 [L,QSA]

# These have a specially reduce form (wide is implied)
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/g
alleries/image/([^\&\?]*)\.htm(\?.*)?$ $1/index.php\?page=galleries&type=image&id=$2&wide=1&$3 [L,QSA]
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/g
alleries/video/([^\&\?]*)\.htm(\?.*)?$ $1/index.php\?page=galleries&type=video&id=$2&wide=1&$3 [L,QSA]
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/i
otds/view/([^\&\?]*)\.htm(\?.*)?$ $1/index.php\?page=iotds&type=view&id=$2&wide=1$3 [L,QSA]

# These are standard patterns
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/(
[^/\&\?]+)/([^/\&\?]*)/([^\&\?]*)\.htm(\?.*)?$ $1/index.php\?page=$2&type=$3&id=$4&$5 [L,QSA]
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/(
[^/\&\?]+)/([^/\&\?]*)\.htm(\?.*)?$ $1/index.php\?page=$2&type=$3&$4 [L,QSA]
RewriteRule ^(site|forum|adminzone|cms|personalzone|collaboration|SPA)/(
[^/\&\?]+)\.htm(\?.*)?$ $1/index.php\?page=$2&$3 [L,QSA]
RewriteRule ^([^/\&\?]+)/([^/\&\?]*)/([^\&\?]*)\.htm(\?.*)?$ index.php\?page=$1&type=$2&id=$3&$4 [L,QSA]
RewriteRule ^([^/\&\?]+)/([^/\&\?]*)\.htm(\?.*)?$ index.php\?page=$1&type=$2&$3 [L,QSA]
RewriteRule ^([^/\&\?]+)\.htm(\?.*)?$ index.php\?page=$1&$2 [L,QSA]
#</IfModule>


order allow,deny
# IP bans go here (leave this comment here! If this file is writeable, ocPortal will write in IP bans below, in sync with it's own DB-based banning - this makes DOS/hack attack prevention stronger)
# deny from xxx.xx.x.x (leave this comment here!)
allow from all
Back to the top
 
Posted
Rating:
#54306
Avatar

Honoured member

at this point, Elief says that the site loads fine from their perspective and I need to take it up with ocportal to get things back to normal for the htaccess behavior, which is not functioning, and suddenly those permissions will not set.
Back to the top
 
Posted
Rating:
#54307
Avatar

Honoured member

also in the mix of all of this, the homepage now shows standards compliance errors instead of the page.

Where Small Press Meets - Dimestore Productions
Back to the top
 
Posted
Rating:
#54314
Avatar

Hi,

So to recap:
  • "php_value" settings in .htaccess seemed to randomly trigger PHP errors. I'm not sure if Elief recently updated the server software and that has drawn up some kind of bug, but it is conceivable this fix would work and true that Elief's servers don't need it.
  • But now certain options, such as the short URL option, will not save as "On".
  • (The validation thing will be just you turned that option on and it found errors – it often will which is why we don't recommend people enable it except during site development)

I would need to have access to your FTP to debug this, so if you'd like me to do that please check our server access policy and e-mail chris@ocportal.com.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#54348
kgw
Avatar

Well-settled

Keyboard and I are having the same problem. I load my browser off a USB stick so it doesn't save cookies, sessions or cache. The issue started today with Elief

5 billion Chinese and I had to get a girlfriend that can nag in English.
Back to the top
 
Posted
Rating:
#54349
kgw
Avatar

Well-settled

Update:
This is an elief issue.
I uploaded my backup .htaccess file from 7 days ago. Nada, 503 errors everywhere.

I got ticked and deleted the htaccess for now and everything is running fine.

5 billion Chinese and I had to get a girlfriend that can nag in English.
Back to the top
 
Posted
Rating:
#54350
Avatar

Honoured member

I'm giving Chris an e-mail to get in there and see if he can figure it all out and fix….
Back to the top
 
Posted
Rating:
#54359
Avatar

I have found the problem and Elief should fix it soon.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#54361
Avatar

Honoured member

I can confirm they have fixed it, and i can now set the advanced settings again, so this is fixed.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: