-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not create paste: server error or not responding" [solved] #43
Comments
Can you send us the error message found in your webserver / PHP log? Are you using privatebin_db or privatebin_data model? If the latter: Is your |
It's the latter and yes the
|
Are the files RainTPL.php and purgelimiter.php readable in the lib folder? The error indicates, that these classes weren't loaded. |
@elrido: yes, they are readable and owned by the correct user. |
Now I am getting further:
|
Sorry, then I am at a loss. :-( I can't reproduce your issue on my test instance with PHP 5.6 and all the unit tests on PHP 7 indicate it is working, too. You need to figure out why these two files aren't included.
This would indicate, that the wrong class is loaded. Is the folder lib/zerobin still around? If yes, please delete it. |
Does the error log posted just before your response help? |
I "solved" it by deleting all the RainTPL functions in my template, as I don't really need those anyway. It's working fine now! Test: https://p.k0nsl.org/ 😁 |
The only thing which is seemingly not working is the syntax highlighting: https://p.k0nsl.org/?a1c9b8da18108e52#P7xJafjtMZ73XAmmpteNEPLE8ZxPPiFiX1ryte3zgY0= |
Sorry for the flood of comments. I just wanted to say that I had to disable syntax highlighting as it would actually parse both HTML and PHP which made it very dangerous. I don't understand how that could be possible. [UPPDATE: I have managed to get syntax highlighting to nominally work; it only works if you omit any opening and closing tags, etc,. |
The HTML encoding issue was recently introduced with the preview feature (#4). |
@k0nsl Just FYI: It is not necessary to change the title when an issue is solved. We already close issues when they are resolved. 😃 |
I am pulling the latest code from the repo and with only minor changes. But I tried to revert most of them and I cannot get this issue out of the way, even if I use
jquery-1.11.3
. It simply doesn't matter in this case, it appears. Yet it seems to be indicating some sort of issue with jQuery.Error:
Could not create paste: server error or not responding
The only thing I see in the Chrome developer console is the following:
![alt text](https://camo.githubusercontent.com/5a50f178f5e922636b42df572a47dbc90fdae418339c8345c4185577241f6bfd/68747470733a2f2f73637265656e2e696d672d63646e2e72752f6368726f6d655f323031362d30372d31385f31322d32312d31322e706e67)
I switched from PHP7 to PHP5.6 in lieu of #42 .
The text was updated successfully, but these errors were encountered: