PDA

View Full Version : Instal Challenges


@Active_Property
02-25-2010, 05:18 AM
Hi Guys

I purchased the Basic WP Realty package, just to see if this will do what i want.

I have installed a fresh WP package at my site. I have downloaded the Plugin and installed it manually. The Install function on WP would not upload and install the plugin....it would just hang.

So i have FTP'ed the Plugin into my Plugins folder. When I go to activate the plugin i get:

Warning: listings_listings_options_form1(/kunden/homepages/32/d224209114/htdocs/aleksin/wp-admin/plugins.php/wp-content/plugins/wp-realty/include/common.php) [function.listings-listings-options-form1]: failed to open stream: Not a directory in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/wp-realty.php on line 1220

My WP install is the latest one...installed on the 23rd of Feb. There are no other plugins on the site yet. When Activated i just get a Blank Screen at my site http://www.active-property.co.uk .

I have looked at the FAQs and have CHMODded the files to 777 as suggested...but still nothing.

What am i doing wrong?

Regards

Wasim

@Active_Property
02-25-2010, 07:26 AM
Hi

Is it better to upgrade to the $80 membership and get you guys to install it?

Thanks

Wasim

Chad
02-25-2010, 08:26 AM
this is a permissions issue plain and simple.

Here is the how to:

First thing I check is what are the other folder and file permissions, are they 755 and 644 or are some of the files 666 etc...another thing to check is the wp-content/uploads/ if that folder is 777 then that is usually the folder I check first to see if that is the writable/chmod permissions I should use on my 2 items.

Next once I determine what all the files and folders should be I use my filezilla ftp client.....here is the way to use filezilla:

Download and install filezilla - next:
Click on top nav - "Transfer" then "Transfer Type" Then set as "Binary"
(this keep from adding spaces to our code)


Ok now here is the thing that fixes all the permissions issues:
Right click on the wp-realty folder and [select] "File permissions.."

next click in the check [box] "Recurse into subdirectories"
select 755 and "Apply to directories only" and once that's done running do it again except change it to 644 and "Apply to files only" and once that's done reset public_html back to 750 and you are all done with the main permissions.

Last of all - if you find that the permissions need to be 777 or 755 to be the writable chmod permissions for your server then do the final steps - Make sure that the wp-realty/include/ (include folder is writable as 755 or 777) and that the wp-realty/include/common.dist.php (common.dist.php file is also "writable" as 755 or 777) NOTE* sometimes the common.dist file has been rewritten somehow and is now common.php but it is "blank" - in these circumstances you must rename it back to the common.dist.php and make it writable.

Final Test - The thing to do now is to deactivate the plugin and reactivate it in order for it to rewrite the common.php file. - If your permissions are set right then now everything will show up for you - if not then you used the wrong permissions for those 2 items and you need to redo the process using the other permissions.

All of the above is how I solve 100% of the permissions issue with installs on client servers.

@Active_Property
02-25-2010, 10:51 AM
Hi Chad

Thanks for the help...however, still getting:


Warning: fopen(/kunden/homepages/32/d224209114/htdocs/aleksin/wp-admin/plugins.php/wp-content/plugins/wp-realty/include/common.php) [function.fopen]: failed to open stream: Not a directory in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 325

Warning: fwrite(): supplied argument is not a valid stream resource in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 326

Warning: fclose(): supplied argument is not a valid stream resource in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 327

Warning: create_tables(/kunden/homepages/32/d224209114/htdocs/aleksin/wp-admin/plugins.php/wp-content/plugins/wp-realty/include/class/adodb/adodb.inc.php) [function.create-tables]: failed to open stream: Not a directory in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 349

Warning: create_tables() [function.include]: Failed opening '/kunden/homepages/32/d224209114/htdocs/aleksin/wp-admin/plugins.php/wp-content/plugins/wp-realty/include/class/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php') in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 349

Fatal error: Call to undefined function: adonewconnection() in /homepages/32/d224209114/htdocs/aleksin/wp-content/plugins/wp-realty/install.inc.php on line 350

when i activate the plugin and a blank screen.

Regards

Wasim

Brian
02-25-2010, 05:58 PM
If you are just trying to test the plugin to see if it does what you want I would suggest downloading a copy of UniServer and installing Wordpress there. It's a quick and easy way to host something right on your PC. The default install of UniServer won't have any permissions problems. (at least it didn't for me)

I would test UniServer first then dig into your other's server issues.

Chad
02-26-2010, 09:35 AM
all you have to do is read the error messages and they will always tell you what is needed - in your case you need to have your server settings checked to enable fopen.

Here are the only known server settings to make sure that are correctly configured if you have any installation errors:
*Curl and *fopen needs to be enabled.

And if you cant figure this stuff out then simply upgrade to VIP and we'll do it all for you as well as set the plugin up with the basic configuration.

If people would use servers from us or from providers like hostgator and a few others like them that typically set their servers up correctly you would never experiance these types of installation issues....but so many are still using old server settings and 777 type permissions which are all bad. I run nothing but the best of the best quad-4 processors with 8gig mem all set with suphp so my wordpress sites when doing updates are lightning fast and they never use the wordpress ftp settings that always seem to fail.