Jump to content

Jimmy058910

Members
  • Posts

    21
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Jimmy058910's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It doesn't fix the error, but it changes it to this: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/androidrtk_rev4n/index.template.php on line 556 547: }); 548: }); 549: } 550: </script> 551: 552: <script type="text/javascript"> 553: var vglnk = { api_url: \'//api.viglink.com/api\', 554: key: \'ad93febdf4e33c034d9635037b687fb3\' }; 555: (function(d, t) { 556: var s = d.createElement(t); s.type =\ 'text/javascript'; s.async = true; 557: s.src = (\'https:\' == document.location.protocol ? vglnk.api_url : 558: '//cdn.viglink.com/api') + '/vglnk.js'; 559: var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r); 560: }(document, 'script'));
  2. I know that copy/paste code is Javascript, but I thought this was a php error on a php file. Sorry if I shouldnt have posted this here
  3. Hi, I tried putting this Viglink code into my custom themes index.template.php on my SMF forum (I should do that right?) and I ended up with this error... Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/androidrtk_rev4n/index.template.php on line 554 545: subMenusContainerId:\'admsubMenus\', 546: duration:\'150\' 547: }); 548: }); 549: } 550: </script> 551: 552: <script type="text/javascript"> 553: var vglnk = { api_url: '//api.viglink.com/api', 554: key: 'ad93febdf4e33c034d9635037b687fb3' }; 555: 556: (function(d, t) { 557: var s = d.createElement(t); s.type = 'text/javascript'; s.async = true; 558: s.src = ('https:' == document.location.protocol ? vglnk.api_url : I figured since it was a copy paste code that it would work just fine :-\ In any case, how can I fix this? Thanks in advance, Jimmy
  4. Hi, I am on a dedicated server and this is the last thing I need to 'get right' before I release my site to the public and it's the most important so any help is much appreciated! Before I moved to CloudFlare, I tested a file of 211MB in size as an upload and it worked and worked fast. After I moved, it times out almost exactly 30 seconds from when I click the submit button. I tried messing with php.ini settings and apache settings but they both don't seem to have any effect, I keep getting the same timeouts. What can I do? Thanks, Jimmy
  5. Alright, sounds great, you da man! Topic SOLVED
  6. It seemed to have worked. It crossed my mind the whole time, but really figured it had to read from the php folder the whole time... but for sure 100% this is ok to do? Just got to keep them updated at both spots or what?
  7. Tried both of these and no result the 2nd one would be correct right?
  8. I have this As for my configure command, I dont see that anywhere, is that in the php.ini?
  9. Here is a table of the php info, just the top part of it (attached as a small word doc), tell me if anything looks wrong. [attachment deleted by admin]
  10. Oh, I didnt catch that I used mysqli, was wondering what ramesh meant by that, lol. Ok, so I tried using mysql_connect and same error :-\ Yeah, I do restart apache all the time, one thing I did learn from the book lol. Now I just got no idea what to do, thought the wrong path was the problem...
  11. Ok, so although it says C:\Windows and has None for loaded configuration file, it still is getting to C:\PHP\php.ini right? And yes, I have php 5, so I have to activate the mysqli extension I know, but should I have both activated? Does it matter? And is there anything else I should know or activate for php 5.2.3? I'm still very confused about what you saying about the mysql_connect() function. This whole mysql_up php code was right out of the book is used to check if it works or not I thought? So from what I think you said, how would removing it help? And for verification purposes, my host (localhost) is correct right? And user should be root right? But when I installed mysql I called the service name mysql50 because the book told me to. And I know the password already for mysql, just wanna make sure I have the right combination for when I test new things and not have to keep testing different combinations, thanks.
  12. I went through the entire php.ini and didnt find anything that had the configuration path to edit (currently at C://WINDOWS) or to change the loaded configuration file (currently set as "None") I'm sorry, I dont know what you mean by using "mysql_connect()". I thought this had to be changed under the Apache httpd.conf file, but went through that as well and didnt find anything in there either. So, please be more specific as I am 100% new to this, and the prupose of setting all this up is so that I can learn and use my books I had purchased. Thanks!
  13. Couldnt even find where to edit those two lines, thats how noob I am Using Apache 2.2.4 PHP 5.2.3 MySQL 5 Community Thanks again for the huge help, pretty positive it will work after this
  14. Ok, think you found my problem... The configuration file (php.ini) path is set at C:\WINDOWS, when I really have it under C:\PHP Also the loaded configuration file line says: (none) Just trying to figure how to fix this, if you see it and I havent made this solved, please inform me Thanks a lot for the help!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.