![]() |
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... B=0 |
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. |
Why me?!?! Oh, it could be worse... :p Thanks... |
Very strange, none of the scripts seem to want to come up with anything at all. |
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? |
No .htaccess file in the classifieds directory... I'm going to try re-uploading all the files now... Except config files... |
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! |
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 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. |
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... |
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. |
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... |
There are 22 tables present in both installations.. I'll PM you in a min... Thank you... |
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? |
I don't think so. This is what I would do: In index.php, put the line: Code: Content visible to verified customers only.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. |
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? |
Just to make sure, it should look like: Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
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... |
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. |
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; |
| All times are GMT -5. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0