We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

getting a e500.php error after update | Forum

Drake
Drake Jul 15 '14
OK Ross here we go:


Every time we get the sites somewhat stable and running I will go in and update either a plugin, theme or 1.7 update.  BTW they've all been updated at this point with 1.7.


The updating takes like 4 to 5 minutes per plugin then I either get this:


http://wowfriends.wowbrows.me/e500.php


OR the BIG 404 (see attached)


Every one of my Oxwall Social Networks are not working.


wowfriends.wowbrows.me

myp2pwall.com

coupleslove2play.com


If  and when we get them up (in the past few days)  I'll go to update a new plugin and it takes like 4 to 5 minutes and it just craps out then we have to do a backup restore to get it up and running again.


MYP2P was all up and running fine with all the current updates and tonight there was an update to I think it was attachments and when I uploaded it it failed  and now it's down.


Hers what happens when I enter Debug mode on couples:


Yes I've done that and here is the error message:


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/couplesl/public_html/ow_pluginfiles/base/lang_1.php on line 1705


I get this sometimes whether I'm in Debug or not.


With MYP2P it's quite a bit more detailed but I can tell you the antispammer was working fine up until this eve.


 

The Forum post is edited by Drake Jul 15 '14
ross Team
ross Jul 15 '14
The error in PM


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/couplesl/public_html/ow_pluginfiles/base/lang_1.php on line 1705


this is a lang file and differs from website to website as you can have different set of plugins, some plugin has syntax error in translation, hence the error. YOu need to disable one by one to see which one causing this. Or you can take a look at the line 1705 and see the translation value, that would be easier to find this plugin. 

The Forum post is edited by ross Jul 15 '14
Drake
Drake Jul 15 '14
By the way I am sorry that HFW called you out.  I understand now what you meant by not being able to pinpoint exactly what the issue is.  Because you could have an unlimited set of variables in the language files based on the plugins.  


But here is the issue on 1705


'base+geolocation

The Forum post is edited by Drake Jul 15 '14
Drake
Drake Jul 15 '14
Hey Geo is a part of a couple of plugins.  How do I know which one and how do I disable from the inside the file manager.  THX for your help
Drake
Drake Jul 15 '14
is it because it's missing the ' at the end of the line? Or does it even belong based on the lines prior to it.  The line prior seems to be last with yemen


 im kinda suspect to remove it.  

The Forum post is edited by Drake Jul 15 '14
ross Team
ross Jul 15 '14
You can't disable via file manager you can do that via phpmyadmin. go to ow_base_plugin table,  locate the row with the geolocation plugin and in the column isActive put 0 instead of 1 

Can you also do this 'base_geolocation' ? and see if the error persists. 

The Forum post is edited by ross Jul 15 '14
Drake
Drake Jul 15 '14
Is there anyway to narrow it down.  The only plugin I know of which is utilizing geo is eventx  but that plugin was disabled. and I do not see a specific row for "geo" anywhere.
Drake
Drake Jul 15 '14
OK that wasn't it.  The eventx plugin was set on 0 already changed it up and outcome the same
Drake
Drake Jul 15 '14
Ross no luck, turned on and off everything that potentially had a geolocation function
ross Team
ross Jul 15 '14
this one: http://www.oxwall.org/ow_userfiles/plugins/forum/attachment_4822_53c4c3f6857d3_myp2p-1.png


you need to disable antispammer and contact plugin developer to resolve this issue. 


as to this one: http://www.oxwall.org/ow_userfiles/plugins/forum/attachment_4823_53c4c3f68accd_MYP2P-2.png


again, disable antispammer, then contact your provider, your mysql server disconnected for some reason, then set ow_logs folder as 777 permissions. 


http://www.oxwall.org/ow_userfiles/plugins/forum/attachment_4824_53c4c3f68b43f_MYP2P-3.png - set ow_logs folder as 777 permissions. 



C
C Jul 15 '14
THis is what I get

Message:SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='File:/home1/anerds/public_html/ow_core/database.phpLine:331Trace:#0 /home1/anerds/public_html/ow_core/database.php(331): PDOStatement->execute()#1 /home1/anerds/public_html/ow_core/database.php(498): OW_Database->execute(' SELECT DISTINC...', Array)#2 /home1/anerds/public_html/ow_system_plugins/base/bol/question_dao.php(314): OW_Database->queryForList(' SELECT DISTINC...', Array)#3 /home1/anerds/public_html/ow_system_plugins/base/bol/question_service.php(617): BOL_QuestionDao->findRequiredQuestionsForAccountType('290365aadde35a9...')#4 /home1/anerds/public_html/ow_system_plugins/base/bol/question_service.php(2232): BOL_QuestionService->findRequiredQuestionsForAccountType('290365aadde35a9...')#5 /home1/anerds/public_html/ow_system_plugins/base/classes/event_handler.php(235): BOL_QuestionService->getEmptyRequiredQuestionsList(3)#6 [internal function]: BASE_CLASS_EventHandler->onPluginsInitCheckUserStatus(Object(OW_Event))#7 /home1/anerds/public_html/ow_core/event_manager.php(197): call_user_func(Array, Object(OW_Event))#8 /home1/anerds/public_html/index.php(63): OW_EventManager->trigger(Object(OW_Event))#9 {main}Type:PDOException

Drake
Drake Jul 15 '14
Ross all geolocation tools are set to 0 and still getting this error now on all three sites!
The Forum post is edited by Drake Jul 15 '14
ross Team
ross Jul 15 '14
C, do the search before posting, this topic has already been discussed: http://www.oxwall.org/forum/topic/21648


Drake can you go to that lang.php file and " ' " sign after the value?

Drake
Drake Jul 16 '14
ROSS  WOO HOO I got it to this point where we were two weeks ago ARGGGGG!

Message:SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayFile:/home/couplesl/public_html/ow_core/database.phpLine:331Trace:#0 /home/couplesl/public_html/ow_core/database.php(331): PDOStatement->execute() #1 /home/couplesl/public_html/ow_core/database.php(397): OW_Database->execute('SELECT * FROM o...', Array) #2 /home/couplesl/public_html/ow_core/base_dao.php(114): OW_Database->queryForObject('SELECT * FROM o...', 'BOL_Config', Array, 0, Array) #3 /home/couplesl/public_html/ow_system_plugins/base/bol/config_dao.php(100): OW_BaseDao->findObjectByExample(Object(OW_Example)) #4 /home/couplesl/public_html/ow_system_plugins/base/bol/config_service.php(147): BOL_ConfigDao->findConfig('base', 'dev_mode') #5 /home/couplesl/public_html/ow_core/config.php(169): BOL_ConfigService->saveConfig('base', 'dev_mode', 0) #6 /home/couplesl/public_html/ow_core/application.php(558): OW_Config->saveConfig('base', 'dev_mode', 0) #7 /home/couplesl/public_html/ow_core/application.php(158): OW_Application->devActions() #8 /home/couplesl/public_html/index.php(43): OW_Application->init() #9 {main}Type:PDOException

Drake
Drake Jul 16 '14
OH BTW If anyone else is getting the 

syntax error in Lng php 1 on line xyz and it's the final line of code chances are you need to finish the entire statement:


 Mine looked like this 

'base+geolocation_country_name_YEM' => 'Yemen',

'base+geolocation


I needed to add  the following 

'base+geolocation_country_name' => 'Country')

?>

Every one this is incorrect please only use this as a reference as to some of the issues with this error.  It is not a fix!

The Forum post is edited by Drake Jul 17 '14
ross Team
ross Jul 16 '14
Drake with this mysql error you need to contact your provider to resolve the issue. 
C
C Jul 16 '14
Ross thanks for pointing me in the right direction. I will look into it.


I did do a search. When the subject is "I Have this problem" it does not catch my attention when i am getting a E500php when trying to access my site.



Drake
Drake Jul 16 '14
Ross there is no way to get the missing line to be fixed in any of the following errors


/home/couplesl/public_html/ow_pluginfiles/base/lang_1.php on line xyz  because it's litterally missing full pieces of code.  In myp2p's lang file I recognized it's only about a quarter of the entire file.  Plus the section which the break was made is in the middle of a whole bunch of "DIV"s so there is no way to complete the code or to know which divs need to be closed, rebuilt or even deleted. This tells me I got lucky with cpls and it will probably fail as well when we get to that point because it's missing more than half of the language files.  If it stopped at Geolocation there are at least 19 more sections to that file.  



The Forum post is edited by Drake Jul 17 '14
Drake
Drake Jul 16 '14
Ross just tell me what you need so you can go in and look at the core of the set up on HFW
Drake
Drake Jul 16 '14
BTW I have disabled the anti spam tool
Pages: « 1 2 3 »