IE doesn't see all php files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

IE doesn't see all php files

Post by zaratustra »

Hello,
I was trying to install propertymx pro on my server. Everything went fine
but by some reason each page in the admin panel doesn't work.

The IE says:

"You tried to access the address http://search.mcquinnconsulting.ie/admi ... ty_add.php, which is currently unavailable. Please make"

You can see the website:

http://search.mcquinnconsulting.ie/

And the admin panel:

http://search.mcquinnconsulting.ie/admin

login:admin
password:admin

and then when you go to each page there is an error

does anyone know what's the problem?

Thanks
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: IE doesn't see all php files

Post by flying_circus »

zaratustra wrote:does anyone know what's the problem?
I am going to take a stab, but the fact that I can see "<?php include "search_.php"; ?>" tells me that PHP is not installed or configured correctly on your server.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: IE doesn't see all php files

Post by John Cartwright »

I just get a blank white page, which leads me to believe there is a fatal error, and error_reporting() is set too low and/or display_errors is set off
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

so what can i do? This software works for other people so there shouldn't be problem with the code
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: IE doesn't see all php files

Post by John Cartwright »

zaratustra wrote:so what can i do? This software works for other people so there shouldn't be problem with the code
Just because code works for in one environment doesn't mean it will work in another.

1) Check your php error logs
2) Edit your php.ini to set error_reporting = E_ALL
3) Edit your php.ini to set display_errors = 1
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

that's the location of the php.ini file:

/usr/local/Zend/etc/php.ini

But i don't have access to this file on my ftp server.
adc123
Forum Newbie
Posts: 4
Joined: Mon Jan 24, 2011 4:27 pm

Re: IE doesn't see all php files

Post by adc123 »

pointing out the obvious but i often forget the obvious,

have you check the file permissions on your files. most apps wil tell you set this file to 775 this folder to 777 ect. if you dont do that on something it relys on it wont be able to use them
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

yes that's all done.
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

have you any other ideas?
danwguy
Forum Contributor
Posts: 256
Joined: Wed Nov 17, 2010 1:09 pm
Location: San Diego, CA

Re: IE doesn't see all php files

Post by danwguy »

none of those pages come up for me at all, I get the page does not exist error on both of those links. ok I am actually getting the 500 internal error. care to post some of the code so we can see at least what you got going.
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

<?PHP
/** PropertyMax Pro Property Sales and Rental Solution **/
/** Complete your database info below and then run the admin/install.php file **/
/**************** DATABASE MODIFICATION SECTION ****************/
$server = "localhost"; // Server Host
$DBusername = "tl200"; // Database Username
$DBpassword = "tl200"; // Database Password
$database = "pro02"; // Database Name
$property_table = "pm_properties"; // Incoming Database Table Name
$admin_table = "pm_admin"; // Admin database table name
$propertytypes_table = "pm_propertytypes"; // property Table name
$propertylocations_table = "pm_propertylocations"; // Property location table
$propertystatus_table = "pm_propertystatus"; // Property status table
$configure_table = "pm_configure"; // Property configure table




/**************** FILE LOCATION SECTION ****************/
$LanguageFolder = "admin";

/**************** DATABASE BACK-UP SECTION ****************/
/* Admin Note: This will not work on all servers, consult your host */
$mysqldump = "/usr/bin/mysqldump"; // MySQL Dump Location
$mysqlbin = "/usr/bin/mysql"; // MySQL Location

/**************** OTHER OPTIONS SECTION ****************/
$DatabaseError = "This Service is Currently Unavailable - Please try again later.";

## Date and time stamps
$dateadded = date("F j Y g:i a"); // Date and time of info request
$VersionNumber = "v0.3"; // PropertyMax Pro Version Number


/**************** FREE VERSION LANGUAGE FILE SUPPORT ****************/
define('CURRENCY', '£');
define('MAIN_TITLE', 'Property Management Software');
define('MAIN_HTML_PARAMS','dir="LTR" lang="en"');
define('MAIN_CHARSET', 'iso-8859-1');

/* General Page Text */
define('GENERAL_PAGE', 'Page');
define('GENERAL_NO_PROPERTIES_FOUND', 'No Properties could be found matching your search requirements.<br><br><b>Please try again.</b>');
define('GENERAL_PROPERTIES_FOUND', 'We found the following Properties matching your search criteria');
define('GENERAL_FORM_POPUP_ERROR_MESSAGE', 'Please fill in your Name, Email and a Contact Address.');

/* Form Search Text (search_.php) */
define('FORM_TITLE', 'Property Search Form');
define('FORM_SEARCH_TEXT', 'For more information about any properties you are interested in, please click on the request more information link on the returned results. <br>Please select your search options from the selections below:');
define('FORM_SELECT_PROPERTY_TYPE', 'Select Property Type:');
define('FORM_MAXIMUM_PRICE', 'Maximum Price:');
define('FORM_NUMBER_OF_BEDROOMS', 'Number of Bedrooms:');
define('FORM_LOCATION', 'Location:');
define('FORM_NO_PREFERENCE', 'No Preference');
define('FORM_SELECT_ALL_TYPES', 'Select All Types');
define('FORM_VIEW_ALL_SALE_PROPERTIES', 'View All Properties');
define('FORM_DISPLAY_SALE_SELECT', 'Please Select');
define('FORM_PROPERTY_FOR_SALE', 'Property for Sale');

/* Search Results Page Text (layout_results.php) */
define('LR_PROPERTY_TYPE', 'Property Type:');
define('LR_PROPERTY_REF', 'Property Ref:');
define('LR_PROPERTY_PRICE', 'Price:');
define('LR_NUMBER_OF_BEDROOMS', 'Bedrooms:');

/* Search Results Page Text (layout_results.php) */
define('LV_PROPERTY_REF', 'Property Ref:');
define('LV_MORE_INFORMATION_TEXT', '<b>For more information regarding this property <br>please contact us at our office or complete your details in the form below.</b>');
define('LV_MORE_INFORMATION_TITLE', '<b> Property Information Request</b>');
define('LV_NAME', 'Name:');
define('LV_EMAIL', 'Email:');
define('LV_ADDRESS', 'Address:');

/* Property View Photo (layout_view_photos.php) */
define('LVP_PROPERTY_REF', 'Property Ref:');
define('LVP_INFORMATION_TEXT', 'Photographs Available for this Property');

/* Email Notification Text */
define('EMAIL_SUBJECT', 'Property Information Request');
define('EMAIL_TEXT_TITLE', 'Property Information Request Form');
define('EMAIL_TEXT_BODY', 'A visitor to your website has requested more information about one of your properties you have available. Details below.');
define('EMAIL_PD', 'PROPERTY DETAILS');
define('EMAIL_RD', 'REQUEST DETAILS');
define('EMAIL_PROEPRTY_REF', 'Property Ref:');
define('EMAIL_PROPERTY_ADDRESS', 'Property Address');
define('EMAIL_PROPERTY_PRICE', 'Property Price');
define('EMAIL_NAME', 'Name:');
define('EMAIL_EMAIL_ADDRESS', 'Email Address:');
define('EMAIL_FOOTER', 'End of Email - http://www.propertymaxpro.com');
define('EMAIL_SUCCESS_MESSAGE', '<font size="-1"><b>Thank you for requesting more information.</b><br>Your request has been sent successfully.</font></p><br><br><p align=center>Please take the time to continue to browse our website.');

/*
***** IMPORTANT NOTICE *****
You are only permitted to remove this copyright notice if you have purchased a licence.
Please see http://www.propertymaxpro.com for full information.
*/
define('FOOTER_TEXT', '<p><i>Powered by PropertyMax Pro</i><br><a href="http://www.propertymaxpro.com">Real Estate Software</a></p>');
?>
That's the config.php file
zaratustra
Forum Newbie
Posts: 7
Joined: Mon Jan 24, 2011 6:14 am

Re: IE doesn't see all php files

Post by zaratustra »

i have also uploaded this script on my second server. Different hosting provider and i am getting the same problem.
See:
http://exposedesignstudios.com/property/
http://exposedesignstudios.com/property/admin/
danwguy
Forum Contributor
Posts: 256
Joined: Wed Nov 17, 2010 1:09 pm
Location: San Diego, CA

Re: IE doesn't see all php files

Post by danwguy »

Could you post up the the php for the add property button or a link to the actual script so we can see what's going on in that script. I am getting the 500 internal server error when I try to click on any of the buttons, so need to see the actual php to do some troubleshooting on it. Thank you.

EDIT: Tried saving the page and it says it's not even on the server, Are you sure the link is set to the right directory and the file exists in that directory with the same name and case?
Post Reply