Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: All pages are blank!!  (Read 8059 times)

0 Members and 1 Guest are viewing this topic.

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
All pages are blank!!
« on: May 02, 2015, 10:57:53 am »

Been using my gallery to post photos as I travel.  All has been fine for the past month, but today my gallery is blank and I cant work out why or how to fix it...  Any suggestions gratefully received.

http://www.jasonandrewmurphy.com/photogallery1/index.php
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #1 on: May 02, 2015, 03:04:44 pm »

Did you edit coppermine files or your theme?
If you make a mistake in a php file may result in a blank gallery.
Downlaod coppermine and take from it only the curve theme.
Rename the curve theme on your server to curve1 and upload the curve theme then try to view your gallery with the curve theme.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #2 on: May 02, 2015, 03:51:12 pm »

Do you have photogallery1/themes folder ?

You already have Coppermine version: 1.5.34 but an upgarde (overwrite with new files) can help: http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4884
    • Windsurf.me
Re: All pages are blank!!
« Reply #3 on: May 02, 2015, 07:44:58 pm »

I am guessing that there is a 501 error on your server that is being hidden hence you are only seeing a blank page. You may have the option in your cpanel to see the error or you could ask your host what the actual error message is. That will really help in diagnosing the problem.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: All pages are blank!!
« Reply #4 on: May 03, 2015, 12:52:50 am »

Did you edit coppermine files or your theme?
If you make a mistake in a php file may result in a blank gallery.
Downlaod coppermine and take from it only the curve theme.
Rename the curve theme on your server to curve1 and upload the curve theme then try to view your gallery with the curve theme.

Firstly, thanks for the help.
I havent changed anything or edited anything in my gallery and I do have a  photogallery1/themes folder.  I tried your suggestion of reloading the curve theme but it made no difference.

Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Re: All pages are blank!!
« Reply #5 on: May 03, 2015, 12:58:04 am »

I am guessing that there is a 501 error on your server that is being hidden hence you are only seeing a blank page. You may have the option in your cpanel to see the error or you could ask your host what the actual error message is. That will really help in diagnosing the problem.

Try what Phill said.
Logged

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Re: All pages are blank!!
« Reply #6 on: May 03, 2015, 12:58:24 am »

I am guessing that there is a 501 error on your server that is being hidden hence you are only seeing a blank page. You may have the option in your cpanel to see the error or you could ask your host what the actual error message is. That will really help in diagnosing the problem.

A list of my recent error log from cPanel is:

[Sat May 02 17:31:27 2015] [error] [client 95.154.207.60] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 17:21:21 2015] [error] [client 198.11.211.202] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 17:19:15 2015] [error] [client 176.9.144.81] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 17:14:10 2015] [error] [client 77.222.61.11] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 17:13:46 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/images/img07.gif, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:13:45 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:13:45 2015] [error] [client 1.120.181.8] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1" is writeable by group, referer: http://www.jasonandrewmurphy.com/
[Sat May 02 17:11:38 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/images/img07.gif, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:11:37 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:11:37 2015] [error] [client 1.120.181.8] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1" is writeable by group, referer: http://www.jasonandrewmurphy.com/
[Sat May 02 17:11:31 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/images/img07.gif, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:11:30 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/photogallery1/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 17:11:29 2015] [error] [client 1.120.181.8] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1" is writeable by group, referer: http://www.jasonandrewmurphy.com/
[Sat May 02 17:11:12 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/images/img07.jpg, referer: http://www.jasonandrewmurphy.com/style.css
[Sat May 02 17:10:37 2015] [error] [client 77.222.61.78] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 17:01:47 2015] [error] [client 77.222.40.173] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:51:24 2015] [error] [client 5.135.189.151] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:46:38 2015] [error] [client 157.55.39.158] File does not exist: /home/jasonand/public_html/photogallery
[Sat May 02 16:43:56 2015] [error] [client 91.211.113.201] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:40:23 2015] [error] [client 176.31.128.38] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:30:44 2015] [error] [client 92.53.114.211] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:20:33 2015] [error] [client 5.101.157.117] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:20:29 2015] [error] [client 205.234.189.91] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 16:20:02 2015] [error] [client 157.55.39.229] File does not exist: /home/jasonand/public_html/photogallery
[Sat May 02 16:17:29 2015] [error] [client 157.55.39.158] File does not exist: /home/jasonand/public_html/photogallery
[Sat May 02 15:54:49 2015] [error] [client 109.71.208.50] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 15:50:07 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/images/img07.jpg, referer: http://www.jasonandrewmurphy.com/style.css
[Sat May 02 15:49:21 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/favicon.ico, referer: http://www.jasonandrewmurphy.com/photogallery1/index.php
[Sat May 02 15:49:11 2015] [error] [client 1.120.181.8] File does not exist: /home/jasonand/public_html/images/img07.jpg, referer: http://www.jasonandrewmurphy.com/style.css
[Sat May 02 15:28:26 2015] [error] [client 85.214.149.38] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 15:12:56 2015] [error] [client 173.44.39.15] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:37:34 2015] [error] [client 209.54.52.44] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:32:22 2015] [error] [client 151.236.48.166] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:28:36 2015] [error] [client 50.62.208.51] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:17:36 2015] [error] [client 148.251.40.249] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:08:47 2015] [error] [client 5.101.157.29] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:06:40 2015] [error] [client 69.20.94.148] Insufficient permissions: /home/jasonand/public_html/photogallery1/js/themes.php
[Sat May 02 14:06:16 2015] [error] [client 72.14.199.118] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1/albums" is writeable by group
[Sat May 02 14:05:16 2015] [error] [client 72.14.199.118] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1/albums" is writeable by group
[Sat May 02 14:05:13 2015] [error] [client 72.14.199.118] File does not exist: /home/jasonand/public_html/photogallery
[Sat May 02 14:05:13 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/images/img07.jpg, referer: http://www.jasonandrewmurphy.com/photogallery/themes/
[Sat May 02 14:05:13 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery
[Sat May 02 14:04:57 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 14:04:57 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 14:04:57 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/hardwired/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/rainy_day/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/eyeball/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/sample/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/curve_red2black/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/water_drop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:57 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/curve/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 14:04:55 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/blog.php
[Sat May 02 14:04:55 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/themes/images, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/blog.php
[Sat May 02 14:04:55 2015] [error] [client 98.249.199.20] Insufficient permissions: /home/jasonand/public_html/photogallery1/themes/blog.php
[Sat May 02 14:04:16 2015] [error] [client 72.14.199.124] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1/albums" is writeable by group
[Sat May 02 14:03:15 2015] [error] [client 72.14.199.112] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1/albums" is writeable by group
[Sat May 02 14:03:15 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/albums/images, referer: http://www.jasonandrewmurphy.com/photogallery1/albums/
[Sat May 02 14:03:15 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/albums/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/albums/
[Sat May 02 14:03:14 2015] [error] [client 98.249.199.20] SoftException in Application.cpp:601: Directory "/home/jasonand/public_html/photogallery1/albums" is writeable by group
[Sat May 02 14:03:09 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:03:09 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:03:09 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:02:59 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:02:59 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:02:59 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/css/
[Sat May 02 14:00:51 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/logs/
[Sat May 02 14:00:51 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/logs/
[Sat May 02 14:00:51 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/logs/
[Sat May 02 14:00:08 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/plugins/
[Sat May 02 14:00:08 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/plugins/
[Sat May 02 14:00:08 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/plugins/
[Sat May 02 13:59:08 2015] [error] [client 72.14.199.124] Insufficient permissions: /home/jasonand/public_html/photogallery1/themes/blog.php
[Sat May 02 13:59:08 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/themes/images, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/blog.php
[Sat May 02 13:59:08 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/photogallery1/style.css, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/blog.php
[Sat May 02 13:59:07 2015] [error] [client 98.249.199.20] Insufficient permissions: /home/jasonand/public_html/photogallery1/themes/blog.php, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 13:58:53 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 13:58:53 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 13:58:53 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/404.shtml, referer: http://www.jasonandrewmurphy.com/photogallery1/themes/
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/hardwired/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/rainy_day/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/eyeball/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/sample/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/curve_red2black/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:53 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/water_drop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:58:52 2015] [crit] [client 98.249.199.20] (13)Permission denied: /home/jasonand/public_html/photogallery1/themes/curve/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 02 13:56:30 2015] [error] [client 98.249.199.20] File does not exist: /home/jasonand/public_html/images/img07.jpg, referer: http://www.jasonandrewmurphy.com/

I do not know how to interpret all the errors and what they mean, however, when I changed the permissions to 777 and my gallery then produces a 500 Internal error...
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #7 on: May 03, 2015, 01:01:57 am »

I also tryed to load www.jasonandrewmurphy.com/photogallery1/themes/curve/style.css and it says:

Forbidden

You don't have permission to access /photogallery1/themes/curve/style.css on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

You should ask support from your host. I belive Phill is right.
Logged

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: All pages are blank!!
« Reply #8 on: May 03, 2015, 01:45:47 am »

Overwrote all /theme files and gallery is now back to normal.  Thanks for all the help.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #9 on: May 03, 2015, 01:50:44 am »

Overwrote all /theme files and gallery is now back to normal.  Thanks for all the help.

That means you did this http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any like I said in Reply #2 ?
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #10 on: May 03, 2015, 01:52:12 am »


Click Topic solved button if you found your answer like I say here: http://forum.coppermine-gallery.net/index.php/topic,78166.0.html
Logged

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: All pages are blank!!
« Reply #11 on: May 03, 2015, 02:42:48 am »

That means you did this http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any like I said in Reply #2 ?

Not exactly.  While searching through all the files, I noticed that while the directory tree for theme folder and the subdirectories of the actual themes were all there, the were all empty with no files in them.  I re-uploaded the files to the respective theme directories and my gallery showed normally again.

I am unsure who, how or why all the files in my themes directories were deleted but that was the cause.  Some detective work is needed to find out who deleted all the files.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #12 on: May 03, 2015, 02:50:34 am »

Sometimes the hosting provider moves your website to another server or the server had a crash etc and the coppermine files got corrupted.
I think replacing (overwrite) the coppermine files with new ones may help.
Is not so hard.
How to overwrite: http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any

Is best to replace all files with new ones.
How knows how many other missing or corrupt files are.

Then run http://www.jasonandrewmurphy.com/photogallery1/update.php
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #13 on: May 03, 2015, 03:54:33 am »

Something is really wrong with your gallery.
I can see your themes folder http://www.jasonandrewmurphy.com/photogallery1/themes/.
Normally should show a Forbidden page.

For albums http://www.jasonandrewmurphy.com/photogallery1/albums/ I shoud see a blank page, but I see 500 Error - Internal Server Error

Talk to your host and upgrade http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any

Maybe your gallery was hacked http://forum.coppermine-gallery.net/index.php/topic,74134.msg357005.html#msg357005.

Why is blog.php in your themes folder?
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: All pages are blank!!
« Reply #14 on: May 03, 2015, 04:50:42 am »

allvip,
slow down... we know the server crashed with a power failure (I still have some questions about that - but we know the ISP did SOMETHING...) While still some questions to ask/answer - I don't see indications anything was hacked...

JasonMurphy,

Some directories appear to be listable... perhaps an .htaccess file is missing - that would contain:
Code: [Select]
Options -IndexesIf it wasn't there before - or is missing now - I would suggest adding it to Coppermine root directory (or higher in site...)
This prevents getting directory listings of folders without an index.php (or .htm, .html. .shtml, etc) file present.

The 500 error on albums would make me think the index.php file that is distributed in the albums folder is corrupted...
A complete upload of the most recent Coppermine distribution would fix this and any other stray problems...

I think your ISP has some explaining to do... For files not typically updated by Coppermine - they really shouldn't get corrupted by a power event... Very possible to corrupt a file being updated - but the ones we have talked about so far are all static.

Greg
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

JasonMurphy

  • Coppermine newbie
  • Country: au
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Re: All pages are blank!!
« Reply #15 on: May 03, 2015, 05:38:16 pm »

allvip,
slow down... we know the server crashed with a power failure (I still have some questions about that - but we know the ISP did SOMETHING...) While still some questions to ask/answer - I don't see indications anything was hacked...

JasonMurphy,

Some directories appear to be listable... perhaps an .htaccess file is missing - that would contain:
Code: [Select]
Options -IndexesIf it wasn't there before - or is missing now - I would suggest adding it to Coppermine root directory (or higher in site...)
This prevents getting directory listings of folders without an index.php (or .htm, .html. .shtml, etc) file present.

The 500 error on albums would make me think the index.php file that is distributed in the albums folder is corrupted...
A complete upload of the most recent Coppermine distribution would fix this and any other stray problems...

I think your ISP has some explaining to do... For files not typically updated by Coppermine - they really shouldn't get corrupted by a power event... Very possible to corrupt a file being updated - but the ones we have talked about so far are all static.

Greg

Blog.php has been removed - I have no idea how it got there, although it was only uploaded there 3 days ago.

A full upload and upgrade complete and a seperate .htaccess file in my Gallery folder along with the root. 

Im not sure if this has fixed all the above mentioned problems but would appreciate any other suggestions.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #16 on: May 03, 2015, 06:36:04 pm »

Just like Greg said in Reply #14:

upgrade: http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any and talk to your host about the errors. Is mandatory to talk to your host. Ask support to them for the errors.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: All pages are blank!!
« Reply #17 on: May 03, 2015, 06:52:11 pm »

Download coppermine and unzip it.
Compare all the files with the ones you have on your server.
They shoud be the same. Just your custom theme end the images from the albums shoud be extra.
Upload even the albums folder. Will not delete your images.

In the folder albums/albums/userpics/10001/, albums/userpics/10002/ etc overwrite index.php with a new blank index.php. Create the blank index.php with windows notepad. Open notepad, choose save as, encoding utf8 and save the file with the name index.php .
Logged
Pages: [1]   Go Up
 

Page created in 0.045 seconds with 21 queries.