Support » Plugin: LaTeX for WordPress » [Plugin: Latex for WordPess] failed to open stream: Permission denied

  • Hi,

    I’ve just added this to test your plugin:

    $$
    x_1 \cdot \left(\begin{array}{c}
    1\\
    1\\
    1\\
    \vdots\\
    0 \end{array}\right) + x_2 \cdot
    \left(\begin{array}{c}
    0\\
    1\\
    1\\
    \vdots\\
    0 \end{array}\right) + \cdots + x_{256} \cdot
    \left(\begin{array}{c}
    0\\
    0\\
    0\\
    \vdots\\
    1 \end{array}\right) \equiv
    \left(\begin{array}{c}
    1\\
    0\\
    1\\
    \vdots\\
    1 \end{array}\right) \mod 2
    $$

    It works fine on math.stackexchange.

    With your plugin I get the following error:

    Warning: fopen(/var/www/wordpress//wp-content/plugins/latex/cache/tex_bd49ec23fe74104e1217164c6307fd48.gif): failed to open stream: Permission denied in /var/www/wordpress/wp-content/plugins/latex/latex.php on line 142 Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/latex/latex.php on line 143 Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/wordpress/wp-content/plugins/latex/latex.php on line 145 Warning: getimagesize(/var/www/wordpress//wp-content/plugins/latex/cache/tex_bd49ec23fe74104e1217164c6307fd48.gif): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/latex/latex.php on line 148

    The vectors get rendered, but without content.

    http://wordpress.org/extend/plugins/latex/

Viewing 1 replies (of 1 total)
  • Plugin Author mathzqy

    (@mathzqy)

    Hi, I’m not sure about the permission problem. But as I known, the latex fourmula should be wrote in one line.

    If they are in different line, the image generator might encounter some problem.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Latex for WordPess] failed to open stream: Permission denied’ is closed to new replies.