PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 9th, 2006, 05:09 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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...
Sal Collaziano is offline   Reply With Quote
Old March 9th, 2006, 05:16 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 9th, 2006, 06:13 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
Why me?!?! Oh, it could be worse...

Thanks...
Sal Collaziano is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old March 9th, 2006, 06:35 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; March 9th, 2006 at 06:37 PM.
Chuck S is offline   Reply With Quote
Old March 10th, 2006, 06:54 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
No .htaccess file in the classifieds directory... I'm going to try re-uploading all the files now... Except config files...
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 07:11 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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!
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 07:34 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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...
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 07:47 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 10th, 2006, 07:53 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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...
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 07:55 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 10th, 2006, 07:57 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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...
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 07:59 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
There are 22 tables present in both installations.. I'll PM you in a min...

Thank you...
Sal Collaziano is offline   Reply With Quote
Old March 10th, 2006, 08:42 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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?
Sal Collaziano is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old March 10th, 2006, 08:54 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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.
Sal Collaziano is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old March 10th, 2006, 09:08 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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...
Sal Collaziano is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old March 10th, 2006, 09:32 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: West Palm Beach, FL
Posts: 161
Send a message via ICQ to Sal Collaziano Send a message via AIM to Sal Collaziano Send a message via MSN to Sal Collaziano Send a message via Yahoo to Sal Collaziano Send a message via Skype™ to Sal Collaziano
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;
Sal Collaziano is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What happened to BotBuster? SLix General Discussion 24 May 11th, 2006 12:35 PM
Strange error - what happened here? Sal Collaziano Classifieds How do I...? 5 February 15th, 2006 06:47 PM
What the heck is vBGallery? Dylan Leblanc Installs and Upgrade - vBulletin 3.5.X 3 February 8th, 2006 08:23 AM
what happened here then? sabret00the Installs and Upgrade - vBulletin 3.0.X 3 May 29th, 2005 04:09 PM
What happened to the beta forum? wacnstac Classifieds Installation & Upgrades 1 June 28th, 2004 11:52 PM


All times are GMT -5. The time now is 08:38 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0