We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Playa

Development and Programming

Matt Weinberg's avatar
Matt Weinberg
489 posts
17 years ago
Matt Weinberg's avatar Matt Weinberg

Glad it helped the two of you. My motto is…if it doesn’t work, start updating database records!

       
ira42's avatar
ira42
167 posts
17 years ago
ira42's avatar ira42

@slapshotw: Thanks again!

@mdesign: np!

@Kevin: Sadly, it seems I’m always 2 steps behind you. Had the TinyMCE problem resolved, and now I have that “Undefined Index” error.

Weird thing is that I have a staging server and production server, and this error is ONLY happening on my production server. There are hardly any differences between the two. My weblog in question, on both servers, also contain both Multi-Relationship (1.0.4) and Playa (latest version) fields.

When I re-enable Playa on my ‘live’ server, I get the undefined errors when visiting those weblog entries. If I delete the playa fields but leave the Playa extension enabled, I still get the errors (cleared all caches too)! Works fine on my staging site, which is on the same server…

I’m baffled… Brandon, any ideas?

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
17 years ago
Matt Weinberg's avatar Matt Weinberg

Are the versions of PHP different on the servers? Are you logged in as Super-Admin with a setting of “view all php errors” on both? Is php error reporting at the same level?

       
ira42's avatar
ira42
167 posts
17 years ago
ira42's avatar ira42

It’s the same Virtual Private Server for both sites, and they’re running PHP4. Logged in as Super Admin on both, and display errors is set to level ‘1’ on both. Can’t figure it out.

Both control panels share identical settings (aside from the server paths and urls), and the only other difference is the order in which I’ve installed the extensions previous to Playa. I’ll have to poke around further tomorrow and see if I can track down any other differences… Tx!

       
stinhambo's avatar
stinhambo
1,268 posts
17 years ago
stinhambo's avatar stinhambo

I couldn’t find any information but any chance of getting this to play with the Gallery module?

If you could filter by Gallery Category too I will donate some money 😊

       
Danny T.'s avatar
Danny T.
426 posts
17 years ago
Danny T.'s avatar Danny T.

Did anybody ever get this successfully working with MSM w/ admin.php masking? I’ve hacked a file to get it to work as previously mentioned, but would prefer a more streamlined or less hack’ish approach for future sake.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
17 years ago
Matt Weinberg's avatar Matt Weinberg

ira42–do you get the errors when you’re logged out of the control panel and visit the entries? Also, are the error reporting levels in PHP set differently (that will be according to the server-wide php setting or an .htaccess/php.ini override).

       
phatphug's avatar
phatphug
31 posts
17 years ago
phatphug's avatar phatphug
Hey Guys My proposal:
$playa_dir = $PREFS->core_ini['site_url'].$PREFS->core_ini['system_folder'].'/extensions/playa/';
Other than that, wonderful extension!

Thanks peschehimself, that worked for me. I think its best to use full urls, since currently it doesnt take into account if ExpressionEngine is installed into a subdirectory.

e.g. If I have expressionengine installed to www.domain.com/development. Then using a link of ‘/system’ will not work.

       
Danny T.'s avatar
Danny T.
426 posts
17 years ago
Danny T.'s avatar Danny T.
Hey Guys My proposal:
$playa_dir = $PREFS->core_ini['site_url'].$PREFS->core_ini['system_folder'].'/extensions/playa/';
Other than that, wonderful extension!
Thanks peschehimself, that worked for me. I think its best to use full urls, since currently it doesnt take into account if ExpressionEngine is installed into a subdirectory. e.g. If I have expressionengine installed to www.domain.com/development. Then using a link of ‘/system’ will not work.

Keep in mind this won’t work for MSM websites other than the original.

       
ira42's avatar
ira42
167 posts
17 years ago
ira42's avatar ira42
ira42–do you get the errors when you’re logged out of the control panel and visit the entries? Also, are the error reporting levels in PHP set differently (that will be according to the server-wide php setting or an .htaccess/php.ini override).

No errors when logged out, which isn’t too bad, but 2 of my clients are super-admins and maintain these pages (don’t want them to see the errors).

The individual local PHP settings are identical for both sites (I checked the PHP Info for both, compared the htaccess files, compared the config.php files, index.php error setting, etc).

I do see that someone reported a similar error with Mark Huot’s Multi-relationship module, but not sure if they’re related. I’ll keep poking around.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
17 years ago
Matt Weinberg's avatar Matt Weinberg

And just to confirm, did you try this fix yet: http://ellislab.com/forums/viewreply/192755/

       
ira42's avatar
ira42
167 posts
17 years ago
ira42's avatar ira42

Sorry, should have mentioned that. Yes, I use this hack to ensure that the multi-relation module works with Php4.

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
17 years ago
Nathan Pitman's avatar Nathan Pitman

Just to say, what an awesome extension! I have been playing and made a few tweaks for my own purposes to order the entries in the left column by date rather than title and limit to 30 entries… I’ve already mentioned this in a PM to Brandon but it would be awesome to have a settings screen where these values can be set, order by column, direction, limit etc… 😊

       
stinhambo's avatar
stinhambo
1,268 posts
17 years ago
stinhambo's avatar stinhambo

Not sure if this has been asked before but is there anyway to count the number of related entries? I am getting a total results and count of 1 even if I have 2 related items.

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
17 years ago
Nathan Pitman's avatar Nathan Pitman

Not sure but I will give this a shot here to see what results I get later today…

       
First 5 6 7 8 9 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.