Jump to content

database error


phpforum15

Recommended Posts

hy,

my site is this www.allhyipinvestor.com

 

when we add more than 10 websites in my monitor site then my site showing white page only .
 
some menue links are working well ,but homepage ,rcb  and article menue not working during this problem
 but when i delete extra sites and make it 10 or less no. of sites then my site online again.
these links some time good working and some time not working.
kindly solve my problem sir.
 
 
 
 
and when i change my php version 5.3 or 5.4 then its normal and active.
its every hourly i need to change php version for active it.
or 
by adding this code in .httaccess my site online suddenly.
 
AddHandler application/x-httpd-php52  .php52 .php
 
kindly make if else coding for .htaccess file.
 
if req host is not active
then 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
else
 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
AddHandler application/x-httpd-php52  .php52 .php
 
Link to comment
Share on other sites

no sir,

         that is critical for recover all error  waste of so much time.

 

so i need only  if or else condition.

 

kindly make the condition i hope my site will be working for life.

 

 

kindly make if else coding for .htaccess file.
 
if req host is not active
then 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
else
 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
AddHandler application/x-httpd-php52  .php52 .php
Link to comment
Share on other sites

yes you are right.

 

you know to make if else condition.

 

if you know kindly make if else codition and put down.

 

if req host is not active
then 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
else
 
 
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule .* index.php [L]
 
AddHandler application/x-httpd-php52  .php52 .php
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.