 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
October 29th, 2007, 03:11 PM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
| adm-misc-php
i was trying to do a backup of the gallery through the admin control panel and it was timing out...
so my host made some adjustments to adm-misc.php file so it could perform the backup without timing out...
we successfully made one backup, but then the gallery started getting really slow, including a wait time of ten minutes or more to validate a dozen photos, then times out...
i asked my host to undo the changes they made to the adm-misc.php file, but they cannot remember what they changed...
would it be wise to over-write that file with an original default file?
can you take a look at it to see if anything looks wrong?
this speed issue has been going on for months, i am dying to find a resolution...
i even bought a brand new server with dual processors and it didn't fix the issue.
looking forward to your help.
thanks.
|
| |
October 29th, 2007, 05:18 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
If your site started getting slower after they made changes uploading a new file would correct any file changes but if the changes that are making things slow are server side they need to revert those changes. I am not a server tech so I can not really tell you what they may have changed.
|
| |
October 29th, 2007, 09:24 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
where can i find an original copy of the default file, so i can try?
can you email it to me?
thanks chuck.
|
| |
October 30th, 2007, 11:22 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Rob if we are meantioning your site we just upgraded your already running the default file. If you are referring to other sites you can sign into your members area by hitting the link in the header above and download the software.
|
| |
November 3rd, 2007, 06:40 PM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
okay thanks chuck.
then i guess there are still problems elsewhere in this gallery.
it take a couple of minutes just to approve one photo sometimes.
my moderators don't want to validate photos anymore because it takes forever.
validating a dozen photos sometimes takes 10 minutes, then times out.
i never had this problem until my host edited that adm-misc.php file.
i bought a brand new dedicated dual processor server and everything.
i optimized the databases, repaired it and still this problem exists...
not only does it effect my team, but it effects my members and everything.
where else can we check for this speed issue?
|
| |
November 3rd, 2007, 07:33 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Well the key here is sometimes which points me to some type of server slowdown somewhere
I know I myself checked that out for you and it went pretty fast a few times and slower one time but nothing that I would call dead slow. Could also be a result if you have several busy sites on one server that you will start seeing slowdowns for sure. I have not personally viewed your site all the time here only when you have asked and things run pretty decent.
|
| |
November 4th, 2007, 07:34 PM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
did you upgrade me to 6.0 or 6.01?
|
| |
November 4th, 2007, 08:24 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
6.0 i would beleive since your upgrade was a few weeks ago.
|
| |
November 4th, 2007, 08:28 PM
|
#9 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
i finally found the list of things my host did prior to these speed issues.
can i email them to you so you can see if you can spot the problem?
i would post them here for you, however they contain many urls to hidden files on my server and i do not want them made public.
thanks chuck.
|
| |
November 4th, 2007, 08:29 PM
|
#10 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
and do you think upgrading to 6.01 will help my speed issue?
|
| |
November 4th, 2007, 08:30 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
You can send them and I can comment on file changes but server admin I am not.
|
| |
November 4th, 2007, 08:33 PM
|
#12 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
thanks chuck.
i just emailed it to you.
|
| |
November 5th, 2007, 04:26 AM
|
#13 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
i can upload a photo in about 30 seconds, if i upload it to the members galleries...
but if i upload it into a sub category, it takes about 3 minutes to upload one photo...
does that give you anything?
|
| |
November 5th, 2007, 04:27 AM
|
#14 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
and when i try to upload more than one photo at a time, it hangs forever and leaves a photo in the upload folder and renames it...
|
| |
November 5th, 2007, 07:35 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
all depends on your photo size Rob. If your uploading a large file it will take longer than a smaller file has nothing to do with category.
Uploading multiple files and it hanging is a server timeout issue either by memory issues or timeout. That can be corrected by correctly editing your servers php settings through the php.ini file to allow for larger files to upload.
max_execution_time 0
memory_limit 48M
post_max_size 12M
max_upload_filesize 12M
I hope that helps your upload thing.
By the way I looked at your email you sent and it has nothing to do with speed or adm-misc.php changes persay. You where not able to use the photopost backup utility to backup the database no big deal it does not work on every server. As mysql needs to be on the same server as Photopost and we need explicit permission to use mysqldump. Not every server is setup like this and quite frankly as big as your databases are you should be using dedicated programs to backup and tar your databases and files and ftp them somewhere safe.
|
| |
November 5th, 2007, 05:18 PM
|
#16 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
the photos were the same size...
is it possible for a category to become corrupt or something?
i will have my host edit these settings and see about this backup.
then will try uploading again and report back here.
thanks chuck.
|
| |
November 5th, 2007, 07:26 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
well you can also describe in more detail what you mean it hangs if its a white page your php on the server has stopped and the image processor has crashed php trying to process files. More info about files sizes etc would help.
|
| |
November 5th, 2007, 07:40 PM
|
#18 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
i'm getting ready to start uploading photos again right now...
i will post what happens...
these files are all about 250k - 800x600
and i am only able to upload one photo at a time, which took about 3-5 minutes each last night.
i wonder if the gd software needs to be updated or something.
i will post what happens shortly...
thanks chuck.
|
| |
November 5th, 2007, 08:10 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
If it takes 3-5 minutes to upload a file that size to your server you definately need to either look at your connection to the internet or have your host seriously check out your server. A 250K file does not take 5 minutes to process.
|
| |
November 5th, 2007, 08:20 PM
|
#20 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2004
Posts: 548
|
i just tried it again and it's doing the same thing...
800 x 600 - 250k photo...
i upload one to the default "Member Galleries" and it uploads in 20 seconds...
i upload one to the "420 Girls" category and it uploads in 4 minutes....
i repeated this cycle one more time to be sure...
i upload one to the default "Member Galleries" and it uploads in 20 seconds...
i upload one to the "420 Girls" category and it uploads in 4 minutes....
i will try to upload multiple files now and tell you what happens.
last night it was timing out, sending me to a blank white page, then when i tried to re-upload them again, there was still an image stuck and renamed, in the upload directory uploads/5/
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:22 PM. | |