PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   After install, no user text on index.php or adm-index.php (http://www.photopost.com/forum/classifieds-installation-upgrades/113484-after-install-no-user-text-index-php-adm-index-php.html)

silknet01 April 13th, 2005 08:02 PM

After install, no user text on index.php or adm-index.php
 
I've just finished an unevent install of Photopost classifieds.

Following the instructions I ran adm-index.php after install, and basically I get a login in form, but all the text fields are missing.

Have a look at http://classifieds.castanet.net/adm-index.php

It's almost like the language module is missing, but it is there with the right permissions.

Where should I begin to look for trouble?

Chuck S April 14th, 2005 07:41 AM

Your language files are corrupted. Reupload. You see their printing onscreen when loading pages

silknet01 April 14th, 2005 11:15 AM

I’ve re-uploaded the files, but there’s no difference. Before I uploaded them, I checked them out and they seemed fine.

Any other suggestions Chuck? Full reinstall?

Chuck S April 14th, 2005 11:22 AM

Maybe try another ftp program. They are still being corrupted.

silknet01 April 14th, 2005 12:01 PM

I’ve tried uploading twice more, still no go. I’ve again checked the files, and there does not appear to be any corrupt files. There are no errors showing up in the apache error logs either, which could happen if a file was corrupt.

-rw-r--r-- 1 root root 456 Jan 15 2004 addfav.php
-rw-r--r-- 1 root root 446 Jan 15 2004 adm-cinc.php
-rw-r--r-- 1 root root 1119 Apr 26 2004 adm-product.php
-rw-r--r-- 1 root root 1087 Dec 20 09:15 bids.php
-rw-r--r-- 1 root root 1514 Jan 15 2004 bulkupload.php
-rw-r--r-- 1 root root 1760 Apr 26 2004 comments.php
-rw-r--r-- 1 root root 892 Dec 20 08:33 contact.php
-rw-r--r-- 1 root root 558 Jan 15 2004 cookies.php
-rw-r--r-- 1 root root 1707 Apr 26 2004 editproduct1.php
-rw-r--r-- 1 root root 2032 Apr 26 2004 editproduct2.php
-rw-r--r-- 1 root root 1320 Apr 26 2004 editproduct3.php
-rw-r--r-- 1 root root 2473 Nov 16 10:04 editproduct.php
-rw-r--r-- 1 root root 6573 Mar 16 08:45 emails.php
-rw-r--r-- 1 root root 869 Sep 23 2004 index.php
-rw-r--r-- 1 root root 487 Jan 15 2004 login-inc.php
-rw-r--r-- 1 root root 204 Jan 15 2004 login.php
-rw-r--r-- 1 root root 69 Jan 15 2004 logout.php
-rw-r--r-- 1 root root 5381 Mar 16 08:41 member.php
-rw-r--r-- 1 root root 566 Nov 3 15:18 payment.php
-rw-r--r-- 1 root root 3969 Nov 1 08:22 pp-inc.php
-rw-r--r-- 1 root root 9366 Aug 25 2004 register.php
-rw-r--r-- 1 root root 443 Jan 15 2004 renew.php
-rw-r--r-- 1 root root 695 Jan 15 2004 reportproduct.php
-rw-r--r-- 1 root root 1296 Jun 16 2004 search.php
-rw-r--r-- 1 root root 2405 Sep 23 2004 showcat1.php
-rw-r--r-- 1 root root 2479 Sep 23 2004 showcat2.php
-rw-r--r-- 1 root root 2182 Feb 3 2004 showcat3.php
-rw-r--r-- 1 root root 2703 Nov 9 09:24 showcat.php
-rw-r--r-- 1 root root 2257 Mar 16 10:03 showproduct1.php
-rw-r--r-- 1 root root 3503 Mar 16 10:03 showproduct2.php
-rw-r--r-- 1 root root 2270 Mar 16 10:03 showproduct3.php
-rw-r--r-- 1 root root 4150 Mar 16 10:03 showproduct.php
-rw-r--r-- 1 root root 1965 Feb 5 2004 uploadproduct1.php
-rw-r--r-- 1 root root 2661 Apr 29 2004 uploadproduct2.php
-rw-r--r-- 1 root root 1958 Feb 5 2004 uploadproduct3.php
-rw-r--r-- 1 root root 5789 Feb 11 09:05 uploadproduct.php

Suggestions?

Craig Cote April 14th, 2005 01:37 PM

Not corrupt files...
 
The problem was not corrupt files, but an oversight by whomever prepared the language files. All but two of the language files needed to be edited so that they began <?php instead of just <?. To be fair, the requirement of the "php" portion is a security setting in apache -- but it is the *recommended* security setting, however. And two of the english language include files that came with the install did have the "php" portion:

contact.php
search.php

I will go through the other include files that come with the pack to ensure that they include the "php" as well.

Craig Cote April 14th, 2005 01:43 PM

Confirmed: All the other php files have "<?php"
 
Just did a quick grep, and I can confirm that none of the other php files begin with just "<? ".


All times are GMT -5. The time now is 05:06 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97