vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - vLaTeX - Math parsing with LaTeX (https://vborg.vbsupport.ru/showthread.php?t=230589)

apokphp 07-25-2010 07:23 PM

I don't know if my server (which is shared) has the necessary requirements. I assume not, since when I don't see all the icons for the formulas (just text instead) and when I try to post a tex bbcode, I get [LaTeX ERROR: Compile failed] .

Is that what this message means?

Pod 07-25-2010 07:37 PM

Quote:

Originally Posted by apokphp (Post 2074397)
I don't know if my server (which is shared) has the necessary requirements. I assume not, since when I don't see all the icons for the formulas (just text instead) and when I try to post a tex bbcode, I get [LaTeX ERROR: Compile failed] .

Is that what this message means?

That most likely means that some of the external programs need to compile the latex files generated by the mod are not in their correct location (you can change where the mod looks for them in the admincp), or are not installed at all. If you have shell access to your host, issue the following commands to know the correct path:

Code:

which latex
which dvips
which identify
which convert

If some of this programs are not installed, ask your host to install them. Some shared hostings will be willing to install them for you, some others won't... I only can say good luck. If they have concerns about overloading the server, tell them that this mod caches the formulas, so they are only parsed the first time they are entered.

apokphp 07-25-2010 07:54 PM

nvm. Hostgator (my host) says that because this is a shared server, they cannot install latex and dvips (the others are already installed). They said I'd have to move to a dedicated server to have these 2 installed.

When I was on 3.8.x, I used the Latex plugin, and it didn't have such server requirements. Are you the same author of that plugin?

Pod 07-25-2010 08:08 PM

Quote:

Originally Posted by apokphp (Post 2074409)
nvm. Hostgator (my host) says that because this is a shared server, they cannot install latex and dvips (the others are already installed). They said I'd have to move to a dedicated server to have these 2 installed.

When I was on 3.8.x, I used the Latex plugin, and it didn't have such server requirements. Are you the same author of that plugin?

Bad luck. Other hosts have different policies regarding the installation of this tiny programs (I know of shared hosts that run this mod without problems in medium-size boards).

I never released any latex product for 3.8.

You can try to use mimeTeX, which produces a bit poorer equations but has less requirements, you only need to be able to run a cgi (and don't even need a mod, only configure the proper custom bbcode).

emath 10-31-2010 06:22 AM

hey, ive got all necessary programs (latex, dvips , Ghostscript , convert , identify) and all set to the right path in admin cp.

although , i still get this :

Quote:

[LaTeX ERROR: Compile failed]
i am using vb.4.0.8

any ideas?

Pod 10-31-2010 01:36 PM

Quote:

Originally Posted by imiviortal (Post 2116272)
hey, ive got all necessary programs (latex, dvips , Ghostscript , convert , identify) and all set to the right path in admin cp.

although , i still get this :



i am using vb.4.0.8

any ideas?

That error appears if it cannot call the latex executable. Make sure that the full path written in the admincp is correct (in a console, write ls [path], it should show the latex file). If the path is correct, it might be some configuration in php that doesn't give you permission to execute external programs thought the php exec command.

You can try to take a look at the error file in your server to see what was the problem.

emath 10-31-2010 06:00 PM

latex directory is right.

where can i find the "error file"

in addition, what is the :

Document class
Class of the temporal latex file. The compiler should have access to the corresponding .cls file.

where can i see where is the .cls file ?

Pod 10-31-2010 06:27 PM

Quote:

Originally Posted by imiviortal (Post 2116459)
latex directory is right.

Not only the directory, but the path to the executable.

Also, remember that this is the path in the file system of your server, not your home computer.

Quote:

Originally Posted by imiviortal (Post 2116459)
where can i find the "error file"

Depends on your hosting. If you have cpanel, you can probably see it there.

Quote:

Originally Posted by imiviortal (Post 2116459)
in addition, what is the :

Document class
Class of the temporal latex file. The compiler should have access to the corresponding .cls file.

where can i see where is the .cls file ?

You don't need the full path here, just the name of the class. You are probably safe leaving the default value (article).

emath 10-31-2010 06:37 PM

what is the path to the executable ? i have only shell access.

Quote:

Depends on your hosting. If you have cpanel, you can probably see it there.
i have directAdmin .. u know where i can find it there ?

Pod 10-31-2010 06:48 PM

Quote:

Originally Posted by imiviortal (Post 2116477)
what is the path to the executable ? i have only shell access.

Write "which latex". It will tell you the path.


Quote:

Originally Posted by imiviortal (Post 2116477)
i have directAdmin .. u know where i can find it there ?

According to directAdmin live demo, in "Site Summary / Statistics / Logs"


All times are GMT. The time now is 03:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01038 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete