 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
March 9th, 2006, 05:09 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
| What the heck just happened? http://www.cadillacforums.com/cadillac-classifieds/
Nothing. Strange, but my Photopost installation is fine.. I can't imagine what just might have happened. Has anyone had this happen before? If so, how did you fix it?
Thanks... |
| |
March 9th, 2006, 05:16 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I can't say anything here other than to download the distribution and upload clean files except the config files.
Did you add any htaccess files in that directory or do anything? Your php files are downloading not processing almost like php is not installed on the server but you know it is.
|
| |
March 9th, 2006, 06:13 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Why me?!?! Oh, it could be worse...
Thanks...
|
| |
March 9th, 2006, 06:34 PM
|
#4 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
Very strange, none of the scripts seem to want to come up with anything at all.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 9th, 2006, 06:35 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Well if I go to showcat and showproduct they download in the browser like PHP is not installed which is strange.
Sal,
Have you checked for an htaccess in the directory that would affect the directory and not the rest of the site?
Last edited by Chuck S; March 9th, 2006 at 06:37 PM.
|
| |
March 10th, 2006, 06:54 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
No .htaccess file in the classifieds directory... I'm going to try re-uploading all the files now... Except config files...
|
| |
March 10th, 2006, 07:11 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Well.. I reuploaded everything and I still have the same problem.. This site is running on a managed dedicated server. What could I ask without sounding crazy?
If I upload the install and upgrade files, THEY load fine!
|
| |
March 10th, 2006, 07:34 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
I wonder if this tells a story of some sort.. I just created a new directory - classifieds-cadillac - and even in THAT directory, I get the same exact thing.. Nothing - or if I go to the actual file "index.php", it wants to download the file...
|
| |
March 10th, 2006, 07:47 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Sal does a new install work if you install a new test install?
Are all the permissions set accordingly. The classifieds directory is 755 and all the rest of the directories and files set according to this? http://www.photopost.com/class/installphp.html
As I asked before look in the classifieds directory to see if there are any htaccess files and delete them. Something seems to be interfering with the running of PHP scripts within that directory and without knowing what changes where made from the time it worked to now its hard for us to do anything but guess here.
|
| |
March 10th, 2006, 07:53 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Yup, I answered that above but I rambled on and I should have reiterated.. No .htaccess file.. I just did a clean install in classifieds-cadillac and it works fine... I wish I knew what was going on...
I just checked permissions.. All set...
|
| |
March 10th, 2006, 07:55 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Okay viewing the classifieds database for this install are all the tables present? I know I am grabbing at straws here.
PM me FTP and PHPMYADMIN logins as well as admin login and I will do a little testing.
|
| |
March 10th, 2006, 07:57 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Oh and in case you missed it up above, the install and upgrade files work no problem.. I don't know if that means anything specific or not...
|
| |
March 10th, 2006, 07:59 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
There are 22 tables present in both installations.. I'll PM you in a min...
Thank you...
|
| |
March 10th, 2006, 08:42 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
I wonder if completely removing the folder/directory and reuploading it would fix the problem... If you don't find anything wrong - than what do you think of that?
|
| |
March 10th, 2006, 08:51 AM
|
#15 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
I don't think so.
This is what I would do:
In index.php, put the line: Code: Content visible to verified customers only.
above everything else.
Load index.php in your browser and see if you get the hello text.
If you do, move it down below the require for pp-inc.php
load again - if you don't get any text, that means we need to move to pp-inc.php and start moving that same line in there - first at the top, then down a little further after the include for config-inc.php.
Its possible that there is a blank line on the end of your config-inc.php file or something that is interfering with your scripts ability to run.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 10th, 2006, 08:54 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
I tried putting echo "hello"; exit; as the first line in index.php and I got the same result.. So what does that tell us?
While I was out a couple of nights ago, my server went down.. Heavy load, I believe.. I think it's probably after that that I'm having this problem.. Could the database have been in the middle of something that's causing this because it was shut down abruptly?
Last edited by Sal Collaziano; March 10th, 2006 at 09:00 AM.
|
| |
March 10th, 2006, 08:59 AM
|
#17 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
Just to make sure, it should look like: Code: Content visible to verified customers only.
Also, try a new script: Code: Content visible to verified customers only.
and make this as a new file, call it phpinfo.php and load it in your browser.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 10th, 2006, 09:08 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Okay. "hello" worked (sorry, I didn't realize it went below the <?php). Let me move down the list a little... I'll edit this in a minute..
I moved it below the require for pp-inc and I still got the "hello" text...
I'll add that phpinfo.php file you just asked me to create now...
|
| |
March 10th, 2006, 09:20 AM
|
#19 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
Well, dont worry about the phpinfo()...
Okay, making sure you remove the line each time you move it, move it futher down in the file to see where it might stop.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 10th, 2006, 09:32 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Okay. Here's where the "hello" echo stops working:
if ( $cat > 0 ) {
if ($CatPerms['ugview'][$cat] == 1 ) {
diewell( $Globals['pp_lang']['noview'] );
}
echo "hello"; exit;
|
| | |
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 08:38 AM. | |