Web Hosting Forum | Lunarpages

Author Topic: Newbie seeking help  (Read 6646 times)

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Newbie seeking help
« on: October 06, 2015, 06:10:02 PM »
Hi All,

I'm a newbie seeking help. I inherited a broken website and I think I broke it even more. (http://tropicalorchidsociety.org)

I have times when the site looks and runs "ok", but others, like now when the images aren't loading due to lack of memory.

Can anyone please tell me where I need to increase memory? I have checked the Lunarpages help areas and searched as best I can to figure this out. Short of calling at this point, I'm not sure what to do.

I'm also pretty sure the site is heavy with plug ins and I am concerned that may be part of the problem..

Any help would be greatly appreciated!
Many thanks!  :help:

Offline wektech

  • Master Jedi
  • *****
  • Posts: 1037
    • Yuma Arizona Information
Re: Newbie seeking help
« Reply #1 on: October 06, 2015, 07:20:58 PM »
Where are you showing the out of memory errors? As you are running wordpress  the following link might help https://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #2 on: October 06, 2015, 08:07:05 PM »
Hi wektech!

Thanks for responding! Much appreciated. I remember doing this once before, but can't figure out why I have no php.ini file that I can find now. Maybe I'm looking in the wrong place?

I was able to access the .htaccess file and added in:

# php_value memory_limit 96M

After I made the limit 64M and noticed errors.

I lose all of my photos. They load, and then disappear, leaving what you see in the attached pic. What am I missing?

Thank you!

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6225
Re: Newbie seeking help
« Reply #3 on: October 07, 2015, 04:34:19 AM »
First of all, you can't use php_value in .htaccess. It will give a 500 error. Second, it is commented out (#) anyway, and thus ineffective.

In your php.ini file (wherever it is, usually either in /home/ACCOUNTNAME/public_html/ or /home/ACCOUNTNAME/), would have the line
Code: [Select]
memory_limit = 96M(double check that memory_limit is the correct entry). Create the file if it doesn't already exist. I have no idea if LP will allow that much memory on a shared server.

You would also need a line in your .htaccess telling PHP where the php.ini file is located:
Code: [Select]
suPHP_ConfigPath /home/ACCOUNTNAME/public_html
Run the following .php script (file) before and after making changes to php.ini,
Code: [Select]
<?php phpinfo(); ?>to confirm that your changes are recognized. It will also list all the possible entries you can make, if more are needed.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #4 on: October 07, 2015, 05:25:41 AM »
Thank you Mr. Phil for that help!

I had been working late into the night and combine that with having to learn as I go, it's kind of not cool.

I did  as you said with one exception...

RE: The last instruction in your message about the php file...
Run the following .php script (file) before and after making changes to php.ini,
Code:
<?php phpinfo(); ?>
to confirm that your changes are recognized. It will also list all the possible entries you can make, if more are needed.


Imagine you are hunting and pecking your way around?

1. I have no idea where to insert this code although I imagine its in the php file above the change and possibly below the change, but your instructions are a little vague for me (so sorry).
2. I have no idea where to see the results of the code.

When I refresh my website, I still see the images show and then disappear.

Forgive me please if I'm asking questions in the wrong place. If I need to view elsewhere, I will, I just need some direction.

Your help is greatly appreciated. Many thanks!

Offline wektech

  • Master Jedi
  • *****
  • Posts: 1037
    • Yuma Arizona Information
Re: Newbie seeking help
« Reply #5 on: October 07, 2015, 06:42:25 AM »
What do you mean by they show and then disappear? Do you actually see the image in the browser and then it goes away?


FYI, I have tried to recreate your issue and see no such behavior.

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #6 on: October 07, 2015, 08:42:59 AM »
I mean that the images show and then they disappear randomly. There is no behavior that repeats itself all the time. The images come and go in a random fashion. I have no idea what is causing this other than memory issues. All the images are in my gallery.

Offline wektech

  • Master Jedi
  • *****
  • Posts: 1037
    • Yuma Arizona Information
Re: Newbie seeking help
« Reply #7 on: October 07, 2015, 10:20:22 AM »
Where are you seeing the low memory issues? ie. What is the exact error message you are seeing and when do you see it?

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #8 on: October 07, 2015, 11:18:03 AM »
Thank you wektech for checking back in for me!  :thumb:

I finally lost my cool and called LunarPages TS. The Tech worked it out in about 5 minutes thankfully!

We checked the site on several browsers, him on IE & Firefox, Andriod Mobile, me on Safari, Chrome & iPhone Mobile. All were having issues where the photo's would load and then randomly stop and start loading up, rarely were there errors, but there were always memory issues (so sorry I can't remember the errors exactly.... now I know to record them as well).  He saw the site the best on IE, but with some issues still.

He did a few things that were not suggested here, so I will post them to the best of my (crappy memory  :roll:) abilities so that it might possibly help someone in need:

1. He went immediately to the php.ini file and changed the memory settings to:

memory_limit = 256M
upload_max_filesize = 264M


When I just checked the file, I see he added:

post_max_size = 64M
max_execution_time = 300


Then he asked me for my IP address and said he "rebooted" WordPress from there. He said the reboot was not something I could have done myself and that it may have taken WP more than 30 minutes to reboot itself properly for all the changes to take place.

I also asked him about the .htacess file and the default-constants.php file, which were both suggested I alter by people here in this forum.

He went in and altered my .htacess file and created an .htacess-Lunar file. Here are the contents of both files for comparison:

The .htacess-Lunar file contents:

suPHP_ConfigPath /home/ACCOUNTNAME/public_html

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress



The .htacess file contents:

suPHP_ConfigPath /home/ACCOUNTNAME/public_html

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.tropicalorchidsociety.org
AuthUserFile /home/ACCOUNTNAME/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/ACCOUNTNAME/public_html/_vti_pvt/service.grp


Thank you again to all who wandered in and tried to help me!
Please believe me when I tell you I have no clue what any of that means, but it saved me yet another sleepless night and all is well in "tropicalorchidsociety.org - ville!"

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6225
Re: Newbie seeking help
« Reply #9 on: October 07, 2015, 11:25:56 AM »
I have no idea where to insert this code

It is its own file, not part of any other file. Put that line in /home/ACCOUNTNAME/public_html/SOMENAME.php, where ACCOUNTNAME is your LP account name (which should never be made public) and SOMENAME is some random name that people won't guess. It's not really safe to call it phpinfo.php, because hackers will try that name and might be able to get useful information from what it lists.

Then you just run it in your browser, and it will list a whole bunch of settings. When you make a change to php.ini, you check to see if the value has changed as expected. It's just a sanity check to prove you actually are changing what you think you're changing.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #10 on: October 17, 2015, 08:09:41 AM »
Good lord its back! All the same problems. I have no clue what to do now and the host is no where until 7am Monday morning!

If anyone has a clue what's going on, please let me know?

Thank you!

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6225
Re: Newbie seeking help
« Reply #11 on: October 17, 2015, 08:16:21 AM »
the host is no where until 7am Monday morning!
You do not have to use telephone support. Open a support ticket by using either the online helpdesk or email to support@lunarpages.com. You should get an immediate acknowledgment and a human response within a few hours.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline TropicalOrchid_Admin

  • Trekkie
  • **
  • Posts: 10
Re: Newbie seeking help
« Reply #12 on: October 17, 2015, 11:17:28 AM »
Thanks Mr. Phil,

Yes, I did send an email to Support. I know I don't have to call, it's just my preference.

Additionally, I can't seem to get my Outgoing email to work from my iMac, something I was able to do at the outset. Something has shifted and although every single setting is correct, it's still not working. That will be a 2nd email to them after I research the forum for problems such as this.

Thank you for your kind response.

 

Share |