Forums

LaTeX for WordPress
failed to open stream: Permission denied (2 posts)

  1. themoosemind
    Member
    Posted 7 months ago #

    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/

  2. mathzqy
    Member
    Posted 3 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags