e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

PM plugin, show nothing #2635

Closed chory closed 7 years ago

chory commented 7 years ago

I installed the PM plugin, and when I click on the button send new message, to create a new one, nothing is shown sealed with the plugin, on the screen. I am not using any template, only those that incorporates the own plugin.

rica-carv commented 7 years ago

Mine's working fine, default pm templates, and using latest github version. Which version of e107 are you using?

chory commented 7 years ago

Latest github Versión 2.1.6 (git)

fizi commented 7 years ago

Earlier I installed the v2. The latest GitHub pm menu not has any folders (attachments, url), pm_template.php, private_msg_menu.php, test.css, test.js and textboxlist.js....but the earlier version has it. I think need delete these. See this how it is. This is just an idea.

chory commented 7 years ago

@fizi I do it, but no work

rica-carv commented 7 years ago

Pm plugin is intact (https://github.com/e107inc/e107/tree/master/e107_plugins/pm), so as i see it, or it's a cache cleaning issue (try clean your caches - browser & e107) or a confliciting third party plugin,,,,

chory commented 7 years ago

caches are clear, no third party plugins. In local works fine, ploblem is with remote server

arunshekher commented 7 years ago

@chory Are you having issues just with the PM 'send new message' page ie.pm?mode=send or the Inbox and Outbox as well? Is it a blank page that you are getting? Is your remote server a VPS that you configured? Mind sharing the environmental details?

I too have similar problem on a particular setup (remote) but almost similar environmental parameters locally worked fine with PM plugin when tested except for one test setup (vagrant virtual box) and I got the below posted errors from xdebug in it. Didn't get a chance to investigate more on those errors.

In my case got blank pages on PM Inbox ( pm?mode=inbox) and Outbox (pm?mode=outbox) but send page is accessible. But just after sending a PM send page also goes blank. PM reaches recipient. Problem persist in v2.1.6 git too.

Parameters used: image

Have cli, intl, xml, mbstring, gd php extensions installed

Inbox: image

Outbox: image

rica-carv commented 7 years ago

@all Please be aware, not every live servers out there are fully setup & prepared to host e107, so always check servers status and loaded modules against e107 minimun requirements...

arunshekher commented 7 years ago

@rica-carv this is the strength and bitterness of open source collaborative dev. model

chory commented 7 years ago

inbox, outbox & send, same page errore107 gd enabled mbstring enabled intl enabled xml enabled DirectiveLocal Value Master Value opcache.enable_cli Off Off

rica-carv commented 7 years ago

@chory That theme is v2 or v1? Does it has a custom pm_template file in it?

chory commented 7 years ago

@rica-carv theme is v2, based in other theme by mcpace, and it has no pm_template

rica-carv commented 7 years ago

@chory There's something weird there, really weird. Can you show the HTML after that breadcrumb?

chory commented 7 years ago

@rica-carv I don't undestand You. breadcrumb? The HTML from page is html.txt

rica-carv commented 7 years ago

@chory There's something breaking that theme, there's div's at the end of the HTML left open and empty. Might be a theme fault, so i cant really tell anything more without real live testing that theme, so...

chory commented 7 years ago

@rica-carv I think it, but I don't understand, if in local server works correctly, in remote server, if the theme contains the same files, it should work correctly. And if e107 is equal, in servers, it should work correctly, too. Or not? I'm going crazy with this nonsense 😩

rica-carv commented 7 years ago

@chory If it works on local, and not on live, the only logic approach is there's something with the servers. I've had some issues on some servers, with the same PHP versions, same modules activated, and all stuff strictly equal, and it simply had errors. So, for me, no surprise if the issue is the server itself. Your local server is what? And the live one, is what?

CaMer0n commented 7 years ago

@arunshekher Did the last commit fix your issue?

Evgura commented 7 years ago

You need to install a version of PHP 7 or lower, then the PM plug-in will work

arunshekher commented 7 years ago

Yes @CaMer0n commit 65ca5af fixes the issue with my setup.

Inbox: image

Outbox: image

Compose: image

Setup: image

arunshekher commented 7 years ago

@chory if you're still having blank screen after upgrading your installation to the current github repo state (after the commit: 65ca5af) try if changing the PM plugin preference Number of PMs to show per page from 0 to, say 10 or 20 fix the issue.

image

CaMer0n commented 7 years ago

Thank you @arunshekher .

chory commented 7 years ago

@CaMer0n last commit, works fine. I'm happy again 😀 Thanks for all

Nop, error sending PM pm/e107-admin/admin-php - Invalid controller 'e107_admin'

CaMer0n commented 7 years ago

@chory could you please share more details? Are you trying to send a PM from the frontend or admin area?

chory commented 7 years ago

I'm tryin send from the frontend errore107-2

CaMer0n commented 7 years ago

@chory Please check the files here : https://github.com/e107inc/e107/tree/master/e107_plugins/pm .. and make sure there are no other files in your PM folder.

CaMer0n commented 7 years ago

@chory Please update your files from github.. it should fix the template load issue.

chory commented 7 years ago

@CaMer0n nothing, I delete plugins/pm folder, I clear all caches, update from github, and this don't works for me. Remains the same as before

rica-carv commented 7 years ago

@chory Just my two cents, and thinking out of the box. If you have said already that on local it works fine, and it's not working on remote server, then, as i see it, it's a server issue, and not with e107 code itself....

chory commented 7 years ago

@rica-carv Totally agree with you, but we will have to know what are the very strict requirements that are needed so that it does not work remotely. If when I installed it has passed all the tests, it would have to work correctly. Or the tests, are they just appearance?

rica-carv commented 7 years ago

@chory There must be something different between both servers. For instance, what's your local server? XAMMP? WAMP? Other? And the remote one? There's a lot to see, because both servers might be the same, but might have slight installation changes that prevent the correct display of e107 on it. I've said it, and keep it saying, i've had long time ago issues like that, and just changing servers solved the issue, so....

chory commented 7 years ago

I'm trying to explain to me (OVH) how I can modify the configuration of my server, so I try to run e107 correctly, but I think I'm going to have to change, hosting, or CMS. And I honestly do not fancy either one or the other. I hope I can solve it. 😠

Crytiqal commented 7 years ago

@chory are you using the same php version on local and remote?

chory commented 7 years ago

@Crytiqal I have tried the same version in both, and it only works for me in local. So I'm already looking for another server

CaMer0n commented 7 years ago

@chory please message me on gitter and we can work through it.

chory commented 7 years ago

well, I moved mi site to other host, and PM works correctly. Thank U

CaMer0n commented 7 years ago

Okay, thank you for letting us know.