Sorry, my bad. I corrected the lines on all 5 and get a new error:
Software error: error loading lang (en_US): Can't locate lang/en_US.pm in @inc (@inc contains: E:\Inetpub\vcpro\v\cgibin\gm\lang E:\Inetpub\vcpro\v\cgibin\gm\libs C:/Perl/site/lib C:/Perl/lib .) at (eval 2) line 3.
Gm_Utils::gmWarn() at line 247 in E:\Inetpub\vcpro\v\cgibin\gm\libs/Gm_Storage.pm (Gm_Storage) Gm_Storage::loadLanguage() at line 61 in E:\Inetpub\vcpro\v\cgibin\gm\libs/Gm_Core.pm (Gm_Core) (eval)() at line 28 in E:\Inetpub\vcpro\v\cgibin\gm\gm-comments.cgi (main) main::BEGIN() at line 0 in E:\Inetpub\vcpro\v\cgibin\gm\libs/Gm_Core.pm (main) (eval)() at line 0 in E:\Inetpub\vcpro\v\cgibin\gm\libs/Gm_Core.pm (main). Error originated at at E:\Inetpub\vcpro\v\cgibin\gm\libs/Gm_Utils.pm line 420. Compilation failed in require at E:\Inetpub\vcpro\v\cgibin\gm\gm-comments.cgi line 28. BEGIN failed--compilation aborted at E:\Inetpub\vcpro\v\cgibin\gm\gm-comments.cgi line 28.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
That is bizarre. The code would complain if the en_US module was missing, so, it can find it with the qualified path. I can see that the full path to the lang directory is in your INC path.
I searched on the web, and the only suggestion I could find is that you make sure lan/en_US.pm is uploaded as ascii. The only thing I can think of, which may work, is that '.' doesn't seem to be 'E:\Inetpub\vcpro\v\cgibin\gm'. So I wonder if you add a use libs line with: use lib 'E:\Inetpub\vcpro\v\cgibin\gm';
Before any of the other use lib calls might work. You only have to change gm.cgi for now, to see if it worked. I am begining to suspect that somehow, your Perl doesn't think its running in your cgibin directory, and so wants everything fully qualified.
Did you add the chdir bit? I would have thought that would fix all the other issues. I believe it should make your script run in the correct directory.
So, you will have to change gm.cgi, gm-comments.cgi, gm-karma.cgi, and gm-upload.cgi. There is a line: require "gm-library.cgi";
Which looks like you have changed to be the full path. However, the double quotes means that its interpreting the \'s as special characters. So, you can change the double quotes to single: require 'gm-library.cgi';
Or do the double slash (the first slash 'escapes' the second slash, so that it comes out to be just one slash), as per your chdir command.
BTW, which 5 files are you changing? Since the other files include gm-library, you may not have to alter gm.cgi, gm-comments.cgi, gm-karma.cgi, or gm-upload.cgi. However, I would wait until everything is working before changing anything like that.
The chdir part was in the 1.3.1 files originally... I may have added it as part of the upgrade process, though I don't remember for sure... its only in the gm.cgi file though.
Either pulling out the full path from the require "gm-library.cgi"; line, or changing it to the single quotes, gives the same new error:
Error Notice The file "gm-counter.cgi" doesn't seem to exist. Please check that your files are in the correct location and that GreyMatter is configured correctly.
Couldn't find a gm-counter.cgi line to add the path though. As for the 5 files, yes, I was making all of these path changes to the same lines in all 5, when applicable (gm-library.cgi, gm.cgi, gm-comments.cgi, gm-karma.cgi, & gm-upload.cgi).
The gm-counter.cgi file will be in the Gm_Storage.pm file. Its basically hiding where the data for everything comes from by having it in that file. If you look for gm-counter.cgi you should see several places in Gm_Storage to change.
Ok, got it working!! I added the path to for gm-counter.cgi in gm-storage.pm, and then got new path error messages for both gm-authors.cgi and gm-entrylist.cgi. So, I added full path to all of those entries (as well as for gm-cplog.cgi - it didnt get an error but it was the only cgi file left without a full path in the file). Also, the first entry for every cgi file had the same double/single quotes issue as well. Once all of that was entered/corrected, comments worked!! I haven't run into any other problems as of yet, but will let you know if I do.
Thanks for all of you help!
Last Edit: May 1, 2008 19:19:38 GMT -5 by stewiedv
Post by kontolterbang69 on Feb 17, 2021 9:47:51 GMT -5
Vegas188 adlah situs sl0t online teprercaya
Agen Judi Slot Terbesar Pemain cuma membutuhkan modal sekedarnya saja untuk bermain game slot online terbaru yang mana sedang jadi terkenal di Indonesia. Dengan dengan modal sekedarnya untuk bermain tentunya pemain akan makin gampang untuk mengatur serta menaik turunkan bet/taruhan.
Selanjutnya anda harus juga dapat mengatur emosi. Beberapa pemain yang alami kekalahan karena seringkali terikut emosi saat bermain. Ini tentunya benar-benar punya pengaruh dalam permainan anda. Karena pemain akan makin panas serta keluarkan bet/taruhan makin bertambah besar yang mempunyai tujuan untuk meraih kemenangan.
Agen Judi Slot Terbesar judi slot dapa melipatgandakan jumlah taruhan sesudah memperoleh kemenangan. Yang mempunyai tujuan diperputaran setelah itu memperoleh kemenangan karena itu hasilnya bisa menjadi dua kalilipat serta semakin dari mulanya. Langkah ini dapat disebut cukup efisian serta tentunya beberapa pemain yang telah mengaplikasikannya untuk memperoleh keuntungan besar.
Penyuplai Game Judi Slot terbaik Serta Paling dipercaya Di Indonesia Keyakinan menjadi salah satunya kunci penting dimana satu situs yang betul – betul memuaskan hati beberapa pemain didalamnya. Disamping itu keyakinan yang sebenarnya memang susah kita mencari serta meletakkannya demikian saja ditambah pada penyuplai permainan judi online.