View
214
Download
0
Category
Preview:
Citation preview
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
1/67
Have you tried turning itON and OFF again?
Troubleshooting Joomla!problems
Peter Martin, twitter: @pe7er
Joomla World Conference, Sat Nov 9th 20!
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
2/67
Have you tried turning itOFF and ON again?
Troubleshooting Joomla!problems
Peter Martin, twitter: @pe7er
Joomla World Conference, Sat Nov 9th 20!
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
3/67
3
Overview Presentation
>>>Sheets via:www.db8.nl
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
4/67
4
"# Extensions$ an introduction
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
5/67
5
"# Extensions$ an introduction
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
6/67
6
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
7/67
7
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
8/67
8
b) Troubleshooting process
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
9/67
9
b) Troubleshooting process
"peratin# S$%tem &"S'
"peratin# S$%tem &"S'
We(%erver
P)P &ver%ion*'
M$S+ data(a%e %erver
oad(alancer-row%er
-row%er addon%
.ir/%%cannerocal rea Networ1
irewall
Wide rea Networ1
3omain Name S$%tem
Modem45o/ter
Joomla data(a%e
Joomla file%
Joomla extensions
3rdparty extensions
6htacce%% Server override%
Parameter%
cce%% Control i%t &C'
S
erverwithweb
site
Co
mputerofwebsitevisitor
IS
P
User
Chair
e$(oard
ile4folder permi%%ion%
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
10/67
10
b) Troubleshooting process"#%a&e a backup first' (eg &eeba)
*#+now difference between ,omponents$ %odules$Plugins$ Templates - .anguage files
/#0ind the cause of the error1
2eproduce the error with different parameters ,hange one parameter at a time - then test#
,hec& all different 3chains4 - var5 them 3extremel54
6#s& for help1
s& the right question in right forum - right sub7ecttitle
8ive sufficient information$ be concise - bullet lists
9#:e 3Open Source4 - report back!
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
11/67
11
c) Extensions in short
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
12/67
12
c) Extensions 9 t5pesExtending ;oomla
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
13/67
13
c) Extensions ,omponent =etermines functionalit5 of a page
%ultiple 3%odi41 ,2>= (Create, Read, Update, Delete) Onl5 one component on a page
ctivation
via >2. ? -option@comAcomponentname
Example
comAcontent
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
14/67
14
c) Extensions %odule Supportive$ 3Bidget4$ onl5 displa5 to screen (3%odule
Positie4)
One mode (e#g# 2ead from database - =ispla5)
%ultiple modules on a page
ctivation
via menu item1 >2. ? -Itemid@x
Example
modAbreadcrumbs
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
15/67
15
c) Extensions Plugin Supportive# Bor&s invisible in bac&ground#
One mode1 does one thing (e#g# search - replace) %ultiple plugins at a time
ctivation
via certain 3events4 (of 3hoo&s4) in components
Example Plugin
,ontent C Email ,loa&ing
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
16/67
16
c) Extensions Template Supportive# =oes la5out of website
One mode (=ispla5 DT%. with ,SS - 3Elements4) One template on a page$ multiple possible
ctivation
=efault and assigned ones in parameter %enu Item
Example
;oomla /#x default template 3Protostar4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
17/67
17
c) Extensions .anguage 0iles Supportive# Translation for 3s5stem labels4
One language at a time (on a page) %ultiple possiblemultilanguage website
ctivation
=efault - .anguage Overrides in database
ExampleFlanguageFenC8:FenC8:#ini
c) Extensions Bor&ing
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
18/67
18
c) Extensions Bor&ingtogether
;oomla
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
19/67
19
d) "G ,ommon Errors -uestions
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
20/67
20
"# :lan& Page
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
21/67
21
"# Error1 3:lan& Page4 After Upgrade - blank page in the front and
backend! Getting blank page when enabling the Search
Engine Friendl
h " #ite i# blank page after "o$ing to other#er$er%
Searching ret&rn# blank page!
'lank page after ad"in login
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
22/67
22
)ave $o/ triedt/rnin# it off
and on a#ain8
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
23/67
23
"# Solution 3:lan& Page4:lan& page @ PDP error - displa5 errors @ O00
"#;oomla admin1 S5stem H 8lobal ,onfiguration HServerJ H Error 2eporting1 %aximum
*#Increase PDP error level1
.htaccess
phpAflag displa5Aerrors onphpAvalue errorAreporting C"
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
24/67
24
*# =eprecated
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
25/67
25
*# Error1 3=eprecated4 Deprecated( F&nction eregi) i# deprecated in
*ho"e*p&blic+ht"l*incl&de#*#efphp on line . Deprecated( F&nction #et+"agic+/&ote#+r&nti"e)
i# deprecated in*$ar*www*librarie#*php"ailer*php"ailerphp on line0102
Deprecated( A##igning the ret&rn $al&e of new breference i# deprecated in*$ar*www*"od&le#*"od+e3"en&-405*e3"en&*e3"en&cla##php on line 56
Deprecated( F&nction #plit) i# deprecated in*$ar*www*librarie#*php"ailer*php"ailerphp on line789
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
26/67
26
m %orr$,are $o/ from
the pa%t8
* S l i 3= d4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
27/67
27
*# Solution 3=eprecated4Error Barning1 3Some PDP function will not be
available an5more in next PDP version4"#8et it fixed'
;oomla!2eport in bugtrac&er
/rdpart5 extension!,ontact developer with warning message
*#Dide warning
In php#ini1errorAreporting @ EA.. - KEA=EP2E,TE=
In #htaccess1phpAflag displa5Aerrors off
/ %i i ,l
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
28/67
28
/# %issing ,lass
/ E 3%i i ,l 4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
29/67
29
/# Error1 3%issing ,lass4 Fatal error( Cla## :;Config: not fo&nd in
*$ar*www*incl&de#*fra"eworkphp on line 56 Fatal error( Cla## :Reader: not fo&nd in*librarie#*c"#*feed*factorphp on line 6.
Fatal error( Cla## :=od=en&?elper: not fo&ndin *4oo"la*ad"ini#trator*"od&le#*"od+"en&*t"pl*defa<+enabledphp on line 08
Fatal error( Cla## :;Error: not fo&nd in*p&blic+ht"l*incl&de#*fra"eworkphp on line 71
Fatal error( Cla## :;=ail?elper: not fo&nd
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
30/67
30
am the head of ;and have it on
#ood a/thorit$ that
if $o/ t$pe
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
31/67
31
/# Solution 3%issing ,lass41.Google the error
Lot too specific' 2emove 3unique text4 li&e 5our own folder
structure
2.Re-upload files
get original ;oomla full pac&age from sameversion
upload all files overwriting the ones on the server
6 ,h did t &
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
32/67
32
6# ,hange did not wor&
6 Error 3,hange did not wor&4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
33/67
33
6# Error1 3,hange did not wor&4 @ changed 3 b&t doe# not work
Start &bli#hing doe# not work at all Show Bitle doe# not work
Article change# not $i#ible in front end
=ain "en& not #howing on =<iling&al web#ite Article# option not working in ;oo"la 15
Article# not #howing!% ?ow co&ld thi# be%
= #ite de#cription not #howing on google @"age# not $i#ible in Categor 'log
S&b"en& ite"# not $i#ible an"ore in ;00%
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
34/67
34
Memor$ i% 5M*
6# Solution 3,hange did not
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
35/67
35
gwor&4"#2efresh (3hard refresh41 ,T2. ? 09)
*#,hec& with other browser
/#Empt5 browser cache
6#Empt5 ;oomla2.s
N#,hange parameters with 3extreme4 numbers
#,hec& Template Overrides
#,hec& Template for hardcoded stuff
"G#,hec& ,.$ .anguage etc
9 6G6
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
36/67
36
9# 6G6
9 Error1 3.in&s give 6G6 error4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
37/67
37
9# Error1 .in&s give 6G6 error =en don:t work
Site doe# not work after "o$e to other #er$er 797 error for all article*#ite link#
797 Error on All >ink#
=A@ =EU 797 ERRR plea#e help!!!! "en& ite"# gi$e 797 error
=en& ite" no longer working - ret&rn# with 797
error 797 error# on all link#, front page of 4oo"la fine
Strange UR>:# in ;oo"la 15. URGENT HELP
URGENThelp error 797
What doe%
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
38/67
38
What doe%; %tand for8
What doe% it %tand for86666
What doe%nt it %tand for8
9# Solution 3.in&s give 6G6
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
39/67
39
error4SE0 @ Search Engine 0riendl5
"#pache1rename htaccess#txt to #htaccess
*#%icrosoft IISN1rename web#config#txt to web#config
/#Lginx1put in virtual domain bloc&1location F Qindex index#php index#html index#htmRtr5Afiles uri uriF Findex#php!q@requestAuriR
M ,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
40/67
40
M# ,an t login
M Error1 3,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
41/67
41
M# Error1 ,an t login @ can:t login to " ad"in panel
Site ?acked and now locked o&t of ad"in ;oo"la 15 can:t login to Ad"in or Site
Cannot log in into *ad"ini#trator back-end
Can:t login ad"in or er Cannot Acce## Ad"ini#tration age
Cannot login to backend
After "o$e of #ite cannot login, loop >ocked o&t of the Ad"in
S&per U#er >ocked &t of ;oo"la 15
)ello
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
42/67
42
)ello
)ello Comp/ter
)ello
M Solution 3,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
43/67
43
M# Solution ,an t login >se php%5dmin
Reset password1 new password ? 30unction4%=9$after login >ser %anager$ Lew password'
add new Super Admin? password$ see1
http1FFdocs#7oomla#orgFDowAdoA5ouArecoverAorAresetA5ourAadminApasswordU/0
chec& pluginsin VAAextensions1plgAuserA;oomla enabled @ " !plgAauthenticationA7oomla enabled @ " !
Securit5 extension! !to&enCafterCurl
N ,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
44/67
44
N# ,an t install
N# Error1 3,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
45/67
45
N# Error1 ,an t install Cannot in#tall an te"plate#, pl&gin#, "od&le# or
co"ponent#
Cannot in#tall e3ten#ion# on ;oo"la! 15
?elp - Can:t in#tall e3ten#ion#, ;Folder((file#( ath i#not a folder
;@n#taller((in#tall( Failed to cop file
Unable to Find @n#tall ackage
Cannot in#tall
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
46/67
46
N# Solution 3,an
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
47/67
47
N# Solution ,an t install Bith specific Extension or all Extensions!
Extension right ;oomla version! ,hec& Permissions
0iles M66$ 0olders N99
S5stem H S5stem Information H =irector5Permissions
,hec& Ownership (0TP user vs Bebserver)
Bith 0TP
,hec& PDP 0ile >pload - >pload SiWe fileAuploads @ OL$ uploadAmaxAfilesiWe @ e#g# "G%
,hec& =is& Space
>nWip in FtmpF folder - 3Install from =irector54!
# Dow to remove!
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
48/67
48
# Dow to remove!
# uestion1 3Dow to remove
XYZ4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
49/67
49
XYZ4 Changing the backgro&nd color%
?ow can @ Re"o$e the Howered b
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
50/67
50
# Solution 3Dow to remove
XYZ4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
51/67
51
XYZ nal5We DT%.F,SS with browser
8oogle ,hrome or 0ire0ox ? addons1 Beb =eveloper
0ire:ug (or 8oogle ,hrome2. ? !tp@"
Template! ,hange template as test
Plugin! =isable plugin as test
,omponent or %odule! DT%. override!
I=E (Letbeans$ Eclipse$ 0irestorm)
# The Leed for Speed
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
52/67
52
p
# Error1 3Bebsite slow4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
53/67
53
h i# " web#ite #o #low to load%
Slow web#ite! @# it " ho#ting% eb#ite loading to #low
Change# to web page #low to load
= web#ite i# loading e3tre"el #low Slow /&erie# on large web#ite
Slow loading web#ite &n#table perfor"ance)
Jer #low page loading aiting onfont#googleapi#co")
Bring to increa#e the #peed of " web#ite
@t:# too #low
)ave $o/ tried
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
54/67
54
$forcin#
an /ne>pectedre(oot8
# Solution 3Bebsite slow4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
55/67
55
nal5se database queries
>se ;oomlase Yslow (0ire0ox F ,hrome browser addon)anal5se loading of website
,ompare with other hosting
:ac&up (with &eeba)
.ocal webserver op P, (with X%PP)
2estore bac&up on local P,$ test speed -compare
"G# S"t/ 8Gt D[c&/d'
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
56/67
56
"G# Error1 3Site got hac&ed4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
57/67
57
Unwanted Ad$erti#er op-&p appearing on ad"infront end
@ got hacked Cant re#et #&perer pa##word
;t got hacked, ad$ice needed
@ 4t got hacked b 3333 -aarrgghh!
eb#ite got hacked b in#ert ? code in all file
;oo"la #ite hacked
Se$eral #ite# co"pro"i#ed
= #ite ha# been hac4ed! plea#e help
ebho#t "alware #can delete# #o"e file#
Got ?acked
3ear Sir %tro1e Madam
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
58/67
58
ire, e>clamation mar1
ire, e>clamation mar1
)elp me e>clamation mar1
"G# Solution 3Site got hac&ed4
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
59/67
59
=o 5ou have a bac&Cup!
0ind the cause =id 5ou &eep all software upCtoCdate!
nal5We server log files
Search for similar hac&s on shared hosting neighbors
Outdated ;oomla - extensions version! Beird files in FimagesF !
SSD access!
Search recent modified files
Search for 3eval(baseM6Adecode4
http1FFdocs#7oomla#orgFSecurit5A,hec&list
You have been hac&ed or defaced
e) Tools
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
60/67
60
e) Tools "F/
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
61/67
61
Joomla
Other ;oomla site with example installation ;oomla =ebug mode
;oomla SE0 O00 CH full >2. with all commands
;oomla S5stem Info
PDP Information
=irector5 Permissions (and or use 0TP to anal5Wepermissions - ownerFgroup)
dmin Tools (/rd
part5 Extension) nal5We - fix director5 permissions
2epair - optimiWe database tables
e) Tools *F/
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
62/67
62
Serer
Bebserver access - error logfiles PDP error logfile
#htaccess
atabase php%5dmin
8>I based S. navigator (Sequel Pro)
"ode #$%$& %'()& )anguage strings*
I=E (e#g# Let:eans$ Eclipse$ 0ireStorm)
e) Tools /F/
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
63/67
63
%'() +utput
Inspect DT%. F ,SS 8oogle ,hrome Inspect Element
0ire0ox ? 0irebug ddon
Beb =eveloper ddon (,hrome ? 0ire0ox)
Yslow (:rowser ddon)
atabase
&eeba :ac&up
X%PP
diff (8>I1 %eld$ Bin%erge)
The
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
64/67
64
uestions!
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
65/67
65
Presentation available at www#db#nl
Peter %artin
eCmail1 info at db#nl
website1 www#db#nltwitter1 [peNer
>sed Photos "F*IT , d \ *GGM *G"G P d d b T l&b & Th f ,h l 6
8/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
66/67
66
IT ,rowd \ *GGMC*G"G$ Produced b5 Tal&bac& Thames for ,hannel 6Television ,orporation#
IT ,rowd photos1 http1FFspoilertv#co#u&
power button C ]gerardN] http1FFwww#sxc#huFphotoF"GG69
Old Polish T^ C +onrado 0edorcW5&o http1FFwww#sxc#huFphotoF""N99/
=iscarded C Therese :ranton http1FFwww#sxc#huFphotoFNG9/N* chains C Pablo Derrera http1FFwww#sxc#huFphotoF"/"M99
%otherboard 6 C .isa Zanchi http1FFwww#sxc#huFphotoF"G/"6
note paper C il&er http1FFwww#sxc#huFphotoF"*MM9/*
2oadside ssistance 2equired C 7amie brelsfordhttp1FFwww#sxc#huFphotoFMG/GG"
>sed Photos *F*=oodled des&s * ]igoghost] http1FFwww sxc huFphotoF""/**
http://spoilertv.co.uk/http://www.sxc.hu/photo/1009485http://www.sxc.hu/photo/1187553http://www.sxc.hu/photo/705372http://www.sxc.hu/photo/1381655http://www.sxc.hu/photo/103914http://www.sxc.hu/photo/1266532http://www.sxc.hu/photo/603001http://www.sxc.hu/photo/603001http://www.sxc.hu/photo/1266532http://www.sxc.hu/photo/103914http://www.sxc.hu/photo/1381655http://www.sxc.hu/photo/705372http://www.sxc.hu/photo/1187553http://www.sxc.hu/photo/1009485http://spoilertv.co.uk/http://www.sxc.hu/photo/1193228http://www.sxc.hu/photo/11932288/14/2019 Have You Tried Turning It Off And On Again? Joomla World Conference 2013
67/67
67
=oodled des&s * C ]igoghost] http1FFwww#sxc#huFphotoF""/**
Tree of ,hange " C +imberl5 ohsen http1FFwww#sxc#huFphotoF"GNNMG
Aerror C lexandre 8alant http1FFwww#sxc#huFphotoFM*//
.oc& C 2obert .inder http1FFwww#sxc#huFphotoF"/9/N
tap 7oint C sif &bar http1FFwww#sxc#huFphotoFM6/N
claws C esra su http1FFwww#sxc#huFphotoF*GMM
Speedometer bdulhamid l0adhl5 http1FFwww#sxc#huFphotoF"/G" ,rowbar C 2ichard =udle5 http1FFwww#sxc#huFphotoF96*MM
Tools C ; :oont7e http1FFwww#sxc#huFphotoFG99N"
signs signs C ;ason nton5 http1FFwww#sxc#huFphotoFN9"G/6
0ace C uestions C :ob Smith http1FFwww#sxc#huFphotoF6"*"9
http://www.sxc.hu/photo/1193228http://www.sxc.hu/photo/1077609http://www.sxc.hu/photo/682383http://www.sxc.hu/photo/1395379http://www.sxc.hu/photo/864387http://www.sxc.hu/photo/206896http://www.sxc.hu/photo/1390189http://www.sxc.hu/photo/854266http://www.sxc.hu/photo/805571http://www.sxc.hu/photo/751034http://www.sxc.hu/photo/418215http://www.sxc.hu/photo/418215http://www.sxc.hu/photo/751034http://www.sxc.hu/photo/805571http://www.sxc.hu/photo/854266http://www.sxc.hu/photo/1390189http://www.sxc.hu/photo/206896http://www.sxc.hu/photo/864387http://www.sxc.hu/photo/1395379http://www.sxc.hu/photo/682383http://www.sxc.hu/photo/1077609http://www.sxc.hu/photo/1193228Recommended